Rhaynara Posted November 6, 2017 Share Posted November 6, 2017 I am using Prestashop 1.6.1.17 and I downloaded the add on of Checkout of Cielo (1.6.0.4 - 1.6.1.17ex). After I downloaded and I installed this in Modules, my Modules don't open anymore and I have this errror: Fatal error: Can't use function return value in write context in /var/www/html/ps/classes/module/Module.php(1361) : eval()'d code on line 209[PrestaShop] Fatal error in module file :/var/www/html/ps/classes/module/Module.php(1361) : eval()'d code:Can't use function return value in write context I already debugged this, and I looked line 209: public static function processDeferedFuncCall() { self::setBatchMode(false); foreach (self::$_defered_func_call as $func_call) { call_user_func_array($func_call[0], $func_call[1]); } self::$_defered_func_call = array(); } this is line 209 How can I solve this problem? Someone? Thanks Link to comment Share on other sites More sharing options...
tuk66 Posted November 7, 2017 Share Posted November 7, 2017 Upgrade PHP version. You are using PHP 5.4 or earlier. I suggest to upgrade to 5.6 and you can also try 7.0, but check all carefully. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now