Viewing 3 replies - 1 through 3 (of 3 total)
  • You may have a conflict with another plugin. It would help if you posted the whole error message.

    The issue is with PHP 5.4.x – I get the same error (reprinted below) when I try to install eShop on a host running PHP 5.4. I do not get the error when I install the same version (latest release) on hosts running PHP 5.3.x.

    PHP 5.4 will no longer allow us to define function variables using super-global names; e.g. I can pass $_POST to a function, but I cannot, in that function’s definition, name my parameter $_POST.

    Here’s the error message I got from WordPress:

    Plugin could not be activated because it triggered a fatal error.
    
    Fatal error: Cannot re-assign auto-global variable _POST in
    /wp-content/plugins/eshop/cart-functions.php
    on line 767

    I tried just changing that particular function definition to see if it would install, and the error popped up again from other locations in the source.

    Plugin Author elfin

    (@elfin)

    fixed for next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: eShop] Fatal error – Cannot re-assign auto-global variable’ is closed to new replies.