VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: moonaway on September 24, 2014, 11:13:32 AM

Title: [SOLVED] Fatal Error after update 2.9.9b -> 2.9.9c
Post by: moonaway on September 24, 2014, 11:13:32 AM
 
QuoteFatal error: Cannot access protected property TableProducts::$jsonEncode in /home/fedorov/demovm2.eyemotion.ru/docs/administrator/components/com_virtuemart/models/product.php on line 819

This error occurs in the backend and frontend, when I go to the product details page.


PS: I think it may be something to related with the loss of a rating.... This error occurs only in the items which have not a rating.


UPDATED:
SOLUTION: Upgrade joomla 3.3.4 -> 3.3.6
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: moonaway on September 25, 2014, 10:42:17 AM
What do you think about this?! :(
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: jjk on September 25, 2014, 10:55:35 AM
So far it seems that you and me are the only ones with this error. I didn't find the cause of the problem yet, but it has been reported to the developers. However, they couldn't reproduce this error yet. The $jsonEncode is not used in the VirtueMart code. Which Joomla version do you use?
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: moonaway on September 25, 2014, 12:34:41 PM
I use joomla 3.3.4.
Why this error is related to the fact that raiting model is missing and not display? This error occurs only in the products which have not a rating.
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: jenkinhill on September 25, 2014, 12:44:41 PM
I saw the error on the 2.9.9c version released on the 23rd but don't see it with the version released on 24th or in that obtained from SVN.
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: alexxsav on September 25, 2014, 13:17:03 PM
Quote from: jenkinhill on September 25, 2014, 12:44:41 PM
I saw the error on the 2.9.9c version released on the 23rd but don't see it with the version released on 24th or in that obtained from SVN.

Hello. I see version only from 23rd in http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: jenkinhill on September 25, 2014, 15:10:26 PM
Get the latest files from SVN
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: moonaway on September 27, 2014, 12:04:45 PM
I'm updated to 2.9.9d but this error persists. It is still associated with the absence of a rating in the product....

PS. It's error maybe in DB. Try reinstalling the table.
Title: Re: Fatal Error after update 2.9.9b -> 2.9.9c
Post by: jjk on September 27, 2014, 13:04:18 PM
The error seems to be related to changes in Joomla 3.3.4. Looks like it doesn't happen when using Joomla 3.3.3.
Title: Re: [SOLVED] Fatal Error after update 2.9.9b -> 2.9.9c
Post by: esedic on October 01, 2014, 10:22:44 AM
I can confirm this error on Joomla 3.3.4 with VirtueMart 2.9.9e.
Title: Re: [SOLVED] Fatal Error after update 2.9.9b -> 2.9.9c
Post by: VampiRUS on October 04, 2014, 11:15:13 AM
and 3.3.5
Title: Re: [SOLVED] Fatal Error after update 2.9.9b -> 2.9.9c
Post by: VampiRUS on October 05, 2014, 14:46:46 PM
after update to 3.3.6 it worked, but when i make an order and go to front page vm i've got Fatal error: Cannot access protected property TableProducts::$jsonEncode i