[SOLVED] PHP warning with antispam

6 years 11 months ago - 6 years 11 months ago #293569 by davidmarshall15
[SOLVED] PHP warning with antispam was created by davidmarshall15
Using the current version, I am seeing this in the apache error log.
PHP Warning:  Missing argument 3 for CB\\Plugin\\AntiSpam\\Trigger\\LoginTrigger::afterLogin(), called in /var/www/mydate/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 881 and defined in /var/www/mydate/html/components/com_comprofiler/plugin/libraries/CB/Plugin/AntiSpam/Trigger/LoginTrigger.php on line 261

PHP Warning:  Missing argument 4 for CB\\Plugin\\AntiSpam\\Trigger\\LoginTrigger::afterLogin(), called in /var/www/mydate/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 881 and defined in /var/www/mydate/html/components/com_comprofiler/plugin/libraries/CB/Plugin/AntiSpam/Trigger/LoginTrigger.php on line 261

PHP Warning:  Missing argument 5 for CB\\Plugin\\AntiSpam\\Trigger\\LoginTrigger::afterLogin(), called in /var/www/mydate/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 881 and defined in /var/www/mydate/html/components/com_comprofiler/plugin/libraries/CB/Plugin/AntiSpam/Trigger/LoginTrigger.php on line 261

Missing argument 6 for CB\\Plugin\\AntiSpam\\Trigger\\LoginTrigger::afterLogin(), called in /var/www/mydate/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 881 and defined in /var/www/mydate/html/components/com_comprofiler/plugin/libraries/CB/Plugin/AntiSpam/Trigger/LoginTrigger.php on line 261

Although it doesn't seem to break anything, would be nice to not see it in the log.
Thanks

--
Database Version 5.5.5-10.1.21-MariaDB
PHP Version 7.0.18
Web Server Apache
Joomla! Version Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Please Log in to join the conversation.

6 years 11 months ago #293572 by krileon
Replied by krileon on topic PHP warning with antispam
Please install the latest CB build. Your install is out of date. Those variables were added to the onAfterLogin trigger, which CB AntiSpam has defined in its usage.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

6 years 11 months ago #293599 by davidmarshall15
Replied by davidmarshall15 on topic PHP warning with antispam
I tried to install the latest build of 2.1.2 and I get this:
001_pkg_communitybuilder_2.1.2+build.2017.04.22.08.39.26.2c97ef2a0.zip is being installed.
001_pkg_communitybuilder_2.1.2+build.2017.04.22.08.39.26.2c97ef2a0.zip failed to install! hide
404 - Not Found
Installer is uninstalling.
Installer failed to uninstall! Error: 404 - Not Found
I will wait until the next major release.
Thanks

Please Log in to join the conversation.

6 years 11 months ago #293600 by krileon
Replied by krileon on topic PHP warning with antispam
Waiting for the next major release likely isn't going to solve your install problem. You've a problem with your install being unable to install the CB package. Try extracting the zip file and navigating to /extensions/packages folder and installing CB through Joomla extension manager without the package installer usage.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

6 years 11 months ago - 6 years 11 months ago #293602 by davidmarshall15
Replied by davidmarshall15 on topic PHP warning with antispam
I am also getting an error trying that method.

Attempting to install the latest version of Auto Actions (plug_cbautoactions_6.3.7+2017.04.20.zip) works fine.
Installing non CB components also works fine.


Installing the package using the package manager does work, sorry for the misinterpretation.

Please Log in to join the conversation.

6 years 11 months ago #293604 by davidmarshall15
Replied by davidmarshall15 on topic PHP warning with antispam
The issue is resolved.

Thanks

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.217 seconds

Facebook Twitter LinkedIn