News:

Support the VirtueMart project and become a member

Main Menu

E_STRICT error on PHP 5.4

Started by scisteffan, March 01, 2013, 11:52:38 AM

Previous topic - Next topic

scisteffan

Hi,

I am getting an E_STRICT error when loading any table object in vm:

Strict standards: Accessing static property TableCar_makes::$_cache as non static in /Library/WebServer/Documents/joomla2/administrator/components/com_virtuemart/helpers/vmtable.php on line 59

This is because vmtable.php, lines 59 and 60, should be:

self::$_cache = null;
self::$_query_cache = null;
VM 2.0.18a, PHP 5.4.11, MySQL 5.5.30 on OS X 10.8.2