• Resolved Adrian Harris

    (@mightywebsa)


    Good day

    When a user logs into the website at the above login they are shown “There has been a critical error on this website.”

    WordPress sends the following details:

    WordPress version 6.6.2 Active theme: Hello Elementor Child (version 1.00.1676031982) Current plugin: Paid Memberships Pro – PayFast Gateway (version 1.5.3) PHP version 8.1.28 Error Details ============= An error of type E_ERROR was caused in line 19 of the file /var/www/html/wp-content/plugins/pmpro-payfast/classes/class.pmprogateway_payfast.php. Error message: Uncaught Error: Cannot call constructor in /var/www/html/wp-content/plugins/pmpro-payfast/classes/class.pmprogateway_payfast.php:19 Stack trace: #0 /var/www/html/wp-content/plugins/paid-memberships-pro/classes/class.memberorder.php(971): PMProGateway_PayFast->__construct() #1 /var/www/html/wp-content/plugins/paid-memberships-pro/classes/class.memberorder.php(273): MemberOrder->setGateway() #2 /var/www/html/wp-content/plugins/paid-memberships-pro/adminpages/dashboard.php(340): MemberOrder->__construct() #3 /var/www/html/wp-admin/includes/template.php(1456): pmpro_dashboard_report_recent_orders_callback() #4 /var/www/html/wp-content/plugins/paid-memberships-pro/adminpages/dashboard.php(92): do_meta_boxes() #5 /var/www/html/wp-content/plugins/paid-memberships-pro/includes/adminpages.php(522): require_once(‘…’) #6 /var/www/html/wp-includes/class-wp-hook.php(324): pmpro_dashboard() #7 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/html/wp-admin/admin.php(259): do_action() #10 {main} thrown

    If I disable the Paid Memberships Pro – PayFast Gateway then the user is able to log in to the website without an issue

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Howzit Adrian,

    Thank you for contacting the Paid Memberships Pro team, I’m really sorry about this issue you are facing.

    Please can you update to version 1.5.4 and let me know if this resolves your issue? There was a minor (fatal) error with Paid Memberships Pro V3.2 and V1.5.3 of the Payfast integration.

    Kind Regards,
    Andrew Lima

    Thread Starter Adrian Harris

    (@mightywebsa)

    Brilliant! thank you so much for that fast response. All working now again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.