• After the woocommerce upgrade to 9.7, I am unable to activate our payment gateway. I have contacted woocommerce and the author of the opayo plugin but as yet no response. I just wondered if anyone else had the same problem.

    When activating the opayo plug-in I get the following error and then the website goes into critical state and I need to go through recovery mode to deactivate the plug-in. I have deactivated all plugins and reactivated them to find that the opayo/woocommerce are the ones causing the problem.

    The following critical error shows:

    2025-02-26T09:56:19+00:00 Critical Uncaught TypeError: strpos() expects parameter 1 to be string, null given in /var/site-name/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php:136?

    Additional context

    {

    ??? "error": {

    ??????? "type": 1,

    ??????? "file": "/var/www/site-name/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php",

    ??????? "line": 136

    ??? },

    ??? "remote-logging": true,

    ??? "backtrace": [

    ??????? "",

    ??????? "#0 /var/www/site-name/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(136): strpos()",

    ??????? "#1 /var/www/site-name/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->register_menu_and_page()",

    ??????? "#2 /var/www/site-name/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",

    ??????? "#3 /var/www/site-name/wp-includes/plugin.php(517): WP_Hook->do_action()",

    ??????? "#4 /var/www/site-name/wp-admin/includes/menu.php(161): do_action()",

    ??????? "#5 /var/www/site-name/wp-admin/menu.php(412): require_once('/var/www/ site-name...')",

    ??????? "#6 /var/www/site-name/wp-admin/admin.php(158): require('/var/www/site-name...')",

    ??????? "#7 /var/www/site-name/wp-admin/edit.php(10): require_once('/var/www/ site-name...')",

    ??????? "#8 {main}",

    ??????? "thrown"

    ??? ]

    }
Viewing 1 replies (of 1 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @melanie2017,

    Did you also update the Opayo plugin? If so, try reverting to a previous version. If not, consider rolling back WooCommerce to its earlier version since it was functioning before the update while you wait for the plugin developer’s response.

    Additionally, to better understand your request, are you installing the Opayo plugin for the first time, or was it previously installed and activated? I ask because you mentioned encountering the issue when trying to activate the plugin.

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