Welcome to Discussion Forum, where you can ask questions and receive answers from other members of the community.

Please provide a Solution: Fatal error in Module.php(1361) : eval()'d code after update from 1.6.1.9 to 1.6.1.11

0 like 0 dislike
Hello all, 
 
After updating from 1.6.1.9 to 1.6.1.11 I have a fatal error:
 
[PrestaShop] Fatal error in module file: ***** / classes / module / Module.php (1361): eval () 'd code: 
Can not use function return value in write context
 
I have removed product comments folder but still the same error.
 
Does anyone else have any idea of what I can do?
 
 
Thanks!
asked Feb 20, 2017 in Prestashop by harsh (8,710 points)

1 Answer

2 like 0 dislike
Hi,

The error is because you are calling function inside function like empty(trim($name)). So you will have to split that line into something like the following:

$name = trim($name).

empty($name).
answered Feb 21, 2017 by Gaurav (1,970 points)

Related questions

0 like 0 dislike
0 answers 294 views
1 like 0 dislike
0 answers 200 views
0 like 0 dislike
1 answer 157 views
157 views asked Feb 24, 2017 in Prestashop by harsh (8,710 points)
0 like 0 dislike
0 answers 118 views
...