I updated vQmod to latest last night, and now I get this error when trying to view the site:
Line 318 of /vqmod/vqcache/vq2-system_library_cart.php is this:Parse error: syntax error, unexpected '=', expecting ')' in /home/indienet/public_html/vqmod/vqcache/vq2-system_library_cart.php on line 318
Code: Select all
public function add($product_id, $qty = 1, $option, $profile_id = '' = '') {
So, I went hunting and found the function in /system/library/cart.php and it appears to be correct:
Code: Select all
public function add($product_id, $qty = 1, $option, $profile_id = '') {
I did a byte for byte comparison of the two files, and this is the only difference between them. If I correct the cache file, it works properly until something causes the cache to be refreshed, and then the site crashes with the same error.
Any help or pointers would be much appreciated.