• Resolved mikehaceman

    (@mikehaceman)


    Hi

    Installed and cannot active due to error:

    Fatal error: Can’t use method return value in write context in /wp-content/plugins/woo-discount-rules/loader.php on line 53

    Simple plugin and i hope you can fix it. Otherwise have to use more complicated solutions which is waste of time for me ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author flycart

    (@flycart)

    Please let us know the PHP version of your server.

    Thanks.

    Plugin Author flycart

    (@flycart)

    Seems you are on PHP 5.3
    Can you try updating it to at least PHP 5.4 ?

    Thread Starter mikehaceman

    (@mikehaceman)

    Im on 5.4 and it cant get any higher

    Problem might be somewhere else …

    Plugin Author flycart

    (@flycart)

    My fault. Apologies.
    The issue is the use of return value in the empty function.
    Since PHP 5.5, empty can handle the return values
    https://php.net/manual/en/function.empty.php

    Is it possible for you to update your PHP verison to 5.5
    If not, we will update the plugin adding backward compatibility to 5.4
    We might need a day to roll out the update.

    And thank you so much for the quick response.

    Plugin Author flycart

    (@flycart)

    Hi

    We have updated the plugin adding PHP 5.3 compatibility.
    Please update the plugin in your site. It should work now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error – loader.php on line 53’ is closed to new replies.