Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

This issue has been carried along with Magento versions 1.40 upwards. If you are receiving this error, you can try some of the following changes to fix it:

Strict Notice: Only variables should be passed by reference in /home/timetoru/public_html/lib/Zend/Db/Select.php on line 246?;i:1;s:5895:”#0 /home/timetoru/public_html/lib/Zend/Db/Select.php(246): mageCoreErrorHandler(2048, ‘Only variables …’, ‘/home/timetoru/…’, 246, Array)

Find and open the file /lib/Zend/Db/Select.php

Search for the following line:

$correlationName = current(array_keys($this->_parts[self::FROM]));

Replace it with the following lines:

$arrayKeys = array_keys($this->_parts[self::FROM]);
$correlationName = current($arrayKeys);

Please make sure to back up the above file and verify if your Magento shop works correctly after applying this change.

Updated by SP on 23/11/2022

Was this answer helpful? 277 Users Found This Useful (615 Votes)

Powered by WHMCompleteSolution