Follow

Magento Error: Strict Standards - Only variables should be passed by reference on line 2658

Sometimes when you import your Magento shop to Facebook, you might get the following error:
 
Strict Standards:  Only variables should be passed by reference in /home/.../public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 2658
 
This error is probably related to the eAccelerator module which is used to improve Magento performance.
In case you are using this module, this can be the solution:
 
In the file lib/Varien/Db/Adapter/Pdo/Mysql.php,  on line 2602, please change:
$key = key(array_intersect_key($condition, $conditionKeyMap));
to:
$tmp = array_intersect_key($condition, $conditionKeyMap);
$key = key($tmp);
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk