Resolved - Fatal Error

  • Paul Proffitt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #121469 by Paul Proffitt
Membership Pro v2.16.1
Joomla 3.9.2
PHP 7.1.26

I am converting a site to Membership Pro from CBSubs. And this is not the first time I've done this.

I have been able to subscribe an existing user to a test plan and pay via PP. Everything seems to work correctly.

When I try to subscribe a new user, I add all the required fields for registration, select payment method (PP or offline) complete the captcha, and save. The result is a white page with only "Fatal Error please contact admin so he can check his history log for errors." I do get an email from the system for the new user requesting a click on the provided link to confirm the email address. When clicked, the resulting CB Profile page provides a message "Thank you for confirming your Email Address. Your account requires approval by a moderator. You will received an email with the outcome of the review." And that is what I'd expect. So the new user is properly created for Joomla/CB.

However, the user should not be getting the 'Fatal error" page though on completing the subscription form. This situation happens for both PP and offline payment options.

I have PHP error logging enabled. But I'm not getting any logged information. I have Debug Mode set to Yes in the OSMembership configuration. This is a live site so I don't have Joomla debugging enabled.

I would appreciate any thoughts on how to solve this to remove the 'Fatal error' page.

At one point the [document_root]/administrator/php_errors.log file received the following entries (but they have not repeated with subsequent tests):

(NOTE: I do have AcyMailing installed and it is in use. But I disabled the Membership Pro AcyMailing plugin after seeing these error messages.)

[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: acymailing_list_ids in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 82
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 82
[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: acymailing_active_remove_list_ids in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 83
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 83
[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: subscription_expired_acymailing_list_ids in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 84
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 84
[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: acymailing_expired_assign_list_ids in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 85
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/acymailing/acymailing.php on line 85
[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: remove_joomla_group_ids in /var/www/gwa/plugins/osmembership/joomlagroups/joomlagroups.php on line 52
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/joomlagroups/joomlagroups.php on line 52
[21-Jan-2019 12:29:37 UTC] PHP Notice: Undefined index: subscription_expired_joomla_group_ids in /var/www/gwa/plugins/osmembership/joomlagroups/joomlagroups.php on line 53
[21-Jan-2019 12:29:37 UTC] PHP Warning: implode(): Invalid arguments passed in /var/www/gwa/plugins/osmembership/joomlagroups/joomlagroups.php on line 53
[21-Jan-2019 12:29:37 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/gwa/administrator/components/com_osmembership/model/plan.php on line 198
[21-Jan-2019 12:29:37 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/gwa/administrator/components/com_osmembership/model/plan.php on line 268
[21-Jan-2019 12:29:37 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/gwa/administrator/components/com_osmembership/model/plan.php on line 318

Please Log in or Create an account to join the conversation.

  • Paul Proffitt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #121470 by Paul Proffitt
I just searched for "Fatal Error please" and found it in the components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/libraries/cbpaidErrorHandler.php

So this appears to be a CBSubs issue and I'll be looking into that.

Please Log in or Create an account to join the conversation.

  • Paul Proffitt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #121474 by Paul Proffitt
Replied by Paul Proffitt on topic Resolved - Fatal Error
I disabled CBSubs and that has resolved the issue.

Please Log in or Create an account to join the conversation.