Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in C:\apm\www\elshp\administrator\components\com_virtuemart\models\user.php on line 129
Uuhaa...
Windows, Apache, J1.7, VM2.0.1.N, PHP5.2
So for all of those who installed 2.0.1.N and see this error and wants to use it (as me because Max implemented conditional redirector / thankx), momental bug fix is to edit administrator/models/user.php
change line 129
$userId = $vendorModel::getUserIdByVendorId($vendorId);
to
$userId = $vendorModel->getUserIdByVendorId($vendorId);
Well, static members cannot be accesed on instances :) Okay, this happens.
I just wonder noone saw this error during testing, it smashes VM down on first touch on category listing...
Cheers...
Thank you spilka, I posted already a slightly better method in another thread, but yours will be easier to find.
The last trouble is the line 129, please use this line
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
When you have this error, treat your admin hard to get php5.3
Thanks guys. This worked:
$userId = $vendorModel->getUserIdByVendorId($vendorId);
Cheers :)