News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED] Fatal Error after update 2.9.9b -> 2.9.9c

Started by moonaway, September 24, 2014, 11:13:32 AM

Previous topic - Next topic

moonaway

 
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
VM3.0.0 testing: http://store.c-site.ru/

moonaway

VM3.0.0 testing: http://store.c-site.ru/

jjk

#2
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?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

moonaway

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.
VM3.0.0 testing: http://store.c-site.ru/

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

alexxsav

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

moonaway

#7
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.
VM3.0.0 testing: http://store.c-site.ru/

jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

esedic

I can confirm this error on Joomla 3.3.4 with VirtueMart 2.9.9e.


VampiRUS

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