General chat [05-Feb-2024 09:59:36 UTC] PHP Notice: Undefined index: xml in /home/customer/www/pos.royal4you.com/public_html/wp-content/plugins/altapay-for-woocommerce/terminals/Royal4You_MobilePay_DKK.class.php on line 366
[05-Feb-2024 09:59:36 UTC] PHP Fatal error: Uncaught Exception: String could not be parsed as XML in /home/customer/www/pos.royal4you.com/public_html/wp-content/plugins/altapay-for-woocommerce/terminals/Royal4You_MobilePay_DKK.class.php:367. Like6:35 pm
Hi,
I’ve installed this plugin on a WP site, but when I try t activate it, I get error message:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Can’t use function return value in write context in /home/public_html/wp-content/plugins/altapay-for-woocommerce/altapay.php on line 188
This is the line from the PHP file:
188 if(!empty(get_option(‘altapay_terminals’))) {
189 $terminals = json_decode(get_option(‘altapay_terminals’));
190 }
removing the condition in this line, allowed me to activate the plugin, but in the website on the checkout page, it seems to try loading the page in some kind of a loop.
I’ve tried to update to the last version(1.6.3).
I’ve tried to uninstall and reinstall.
Do you have any idea how to solve this?
Thanks