• 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

  • The topic ‘Error when trying to activate the Altapay plugin’ is closed to new replies.