• This plugin was working perfectly on test website on localhost (linux), but a fatal error prevents from being activated when i moved to final host (windows):
    This is the message from wordpress:
    Plugin can’t be activated because it generates a FATAL ERROR:

    Parse error: syntax error, unexpected T_FUNCTION in *********\wp-content\plugins\shipping-by-rules-for-woocommerce\library\rules_shipping_framework.php on line 386

    https://www.ads-software.com/plugins/shipping-by-rules-for-woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Open Tools

    (@opentools)

    Dear Leonardo,
    Which PHP version do you have installed on your production server? It appears that the PHP version on the server does not support anonymous functions assigned to a variable (https://php.net/manual/en/functions.anonymous.php), which was a feature that was introduced in PHP 5.3…

    Best regards,
    Reinhold

    Thread Starter leonardocreabit

    (@leonardocreabit)

    PHP Version is actually 5.2, so i assume that could be a good explanation.
    I asked my hosting provider to upgrade, i will update as soon as i have news!

    Thank you very much,
    Leonardo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.