Title: [Plugin: eShop] Fatal error &#8211; Cannot re-assign auto-global variable
Last modified: August 20, 2016

---

# [Plugin: eShop] Fatal error – Cannot re-assign auto-global variable

 *  Resolved [goodmamba](https://wordpress.org/support/users/goodmamba/)
 * (@goodmamba)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-eshop-fatal-error-1/)
 * Fatal error: Cannot re-assign auto-global variable _POST in D:\_web\*******\www\
   wp-content\plugins\eshop\cart-functions.php on line 767
 * Plugin could not be activated because it triggered a fatal error.
 * Using:
    PHP 543 Apache 2.4 MySQL 5.0.10
 * [http://wordpress.org/extend/plugins/eshop/](http://wordpress.org/extend/plugins/eshop/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-eshop-fatal-error-1/#post-2807413)
 * You may have a conflict with another plugin. It would help if you posted the 
   whole error message.
 *  [jamesvl](https://wordpress.org/support/users/jamesvl/)
 * (@jamesvl)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-fatal-error-1/#post-2807680)
 * 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.
 *  Anonymous User
 * (@anonymized-3085)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-fatal-error-1/#post-2807690)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/eshop_d6e4b8.svg)
 * [eShop](https://wordpress.org/plugins/eshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eshop/)
 * [Active Topics](https://wordpress.org/support/plugin/eshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eshop/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: Anonymous User
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-fatal-error-1/#post-2807690)
 * Status: resolved