Fatal Error

Keep getting this everytime i goto save a category after I edited the name or image, etc…

Only variables can be passed by reference in …/html/store/core/fn.cms.php on line 800



Just came about by it’sself , otherwise I have had no issues.

What version are you running?

Solved in bug tracker:

[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1459[/url]



1.[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1459[/url]



2.Check your file permissions

Solved in bug tracker:

[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1459[/url]



1.[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=1459[/url]



2.Check your file permissions

2.0.9

replace this code.

if (!empty($objects[‘block_data’])) {



with this:

if (!empty($objects[‘block_data’]) && is_array($objects[‘block_data’])) {



line:801 or search your script and replace



THX- JM

replace this code.

if (!empty($objects[‘block_data’])) {



with this:

if (!empty($objects[‘block_data’]) && is_array($objects[‘block_data’])) {



line:801 or search your script and replace

Ok going to give these suggestion a try will update my findings,

Thanks all

That will address the symptom but what is the cause of the $object[‘block_data’] NOT being an array? I would figure that out versus masking the root cause problem.



Don’t have 2.0.9 source around anymore, too old. I’ve not seen this in any version so far but it might be that your problem has already been addressed by a more recent version. Would suggest you upgrade to 2.0.15 and see if the problem still exists.