Creation of dynamic property WC_PAYEX_GATEWAY::$testmode is deprecated
-
My site’s Cart & Checkout broke today for some reason, with a critical error. Checked my server log and found a PHP warning:
PHP Deprecated: Creation of dynamic property WC_PAYEX_GATEWAY::$testmode is deprecated in /var/www/mywebsite.com/htdocs/wp-content/plugins/payex-payment-gateway-for-woocommerce/class-wc-payex-gateway.php on line 91
It’s just a warning so it shouldn’t cause any damage, but the weird thing is, after I deactivated Payex plugin, my site loaded fine. Then when I reactivated the plugin, it still works fine. So I don’t really know exactly what was the problem, but I know Payex was the problem, somehow.
FYI I’m using PHP 8.2 on Ubuntu 22.04.
Also this plugin hasn’t been tested with the latest 3 major releases of WordPress.
Appreciate if the devs could do an update, at least to check the code for new updates to WordPress and PHP.
Thanks.
- The topic ‘Creation of dynamic property WC_PAYEX_GATEWAY::$testmode is deprecated’ is closed to new replies.