Fatal error: Only variables can be passed by reference in /home/lawebenc/public_html/controllers/admin/promotions.php on line 236

Hi everyone, this is my first post in this forum, and I searched for the solution to this everywhere but havent seen it (or maybe missed it), so if this is a redundant question please forgive me and point me in the right direction. Thanks!



We're running cs-cart 2.2.4 (php 5.2.17, MySql 5.5.23) in a multilingual setup. Everything works for Admin in English, but in Admin in Spanish at this url: dispatch=promotions.update&promotion_id=1&selected_section=conditions , when updating a promotion, we get this error on save: Fatal error: Only variables can be passed by reference in /home/lawebenc/public_html/controllers/admin/promotions.php on line 236



I have been looking at the posts of these topics:



Administration Settings Blank - Configuration - CS-Cart Community Forums

Beta 3 Bugs Galore! - General Questions - CS-Cart Community Forums



But we are not and can not run php 5.1, and cannot see how to apply that info to our situation.



Also, in the “Export Products” in Spanish Admin, the page goes blank, no info or error returned.



If someone could offer some n00b help that would be great, we're not php programmers and dealing with code like this is very frustrating to say the least.



If more info is needed please dont hesitate to ask.

Thanks again