VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: SteP[IT] on January 07, 2017, 15:30:19 PM

Title: URGENT: crucial 'Fatal Error' when subscribing as new user
Post by: SteP[IT] on January 07, 2017, 15:30:19 PM
I'm upgrading my websites from 3.0.16 to 3.0.18.8
After upgrading, I'm experiencing a crucial problem when subscribing as new user.
After filling the form and hitting the 'register' button, I'm getting this error:

Fatal error: Access to undeclared static property: vmLanguage::$vmlangTag in <website-path>/administrator/components/com_virtuemart/helpers/config.php on line 1263

User data seems to be registered in database (the new user is listed in Customers list) but the site remains on the blank page with error.

I'm using VM with standard templates (I have disabled overrides in templates), Joomla 3.6.5, php 5.6.29-1+deb.sury.org~trusty+1, apache 2.4.20

Can you please help me to fix this asap??

Regards
Title: Re: URGENT: crucial 'Fatal Error' when subscribing as new user
Post by: lindapowers on January 07, 2017, 17:31:36 PM
True, same error:

Error message data:
1 Access to undeclared static property: vmLanguage::$vmlangTag in file: website/administrator/components/com_virtuemart/helpers/config.php line: 1263

Happens in demo page too http://demo.virtuemart.net/account/edit
Title: Re: URGENT: crucial 'Fatal Error' when subscribing as new user
Post by: SteP[IT] on January 08, 2017, 09:24:15 AM
Someone else getting this and having a hint?
Regards
Title: Re: URGENT: crucial 'Fatal Error' when subscribing as new user
Post by: SteP[IT] on January 09, 2017, 09:29:52 AM
I have tested the previous versions, and this issue is NOT present in version 3.0.18.7, so it's clear it has been introduced by the latest minor version.
Waiting for the fix  :D
Thank you & regards
Title: Re: URGENT: crucial 'Fatal Error' when subscribing as new user & issue with ' charac
Post by: Milbo on January 09, 2017, 09:36:56 AM
It is a little typo. the self:: must be VmConfig::
Title: Re: URGENT: crucial 'Fatal Error' when subscribing as new user
Post by: SteP[IT] on January 09, 2017, 09:54:24 AM
OK, thanks a lot.
Can you please publish the modified version? simply modifing that line leads to another error.