VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: barbara on July 18, 2018, 21:51:53 PM

Title: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: barbara on July 18, 2018, 21:51:53 PM
recently upgraded to joomla 3.8.10 / vm 3.2.14

when trying to access products via menu links getting error
Access to undeclared static property: VirtueMartModelProduct::$omitLoaded

also get this error on some links
Call to undefined method VirtueMartModelProduct::addProductToRecent()

have tried a couple different templates - same error in all, so is not a template issue

any suggestions would be greatly appreciated
Title: Re: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: Jörgen on July 19, 2018, 01:11:04 AM
Php version ? Upgraded from what ? Tested with Protostar ? Cleaned cache after switch ? Updated AIO also ?

Jörgen @ Kreativ Fotografi
Title: Re: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: jenkinhill on July 19, 2018, 10:31:02 AM
? issue in administrator/components/com_virtuemart/models/products.php - maybe installation/update error.
Title: Re: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: barbara on July 19, 2018, 20:40:53 PM
php 7
upgraded from j 3.6.5 / vm 3.0

dont have protostar template - tested with a couple 'energizethemes' templates i have succesfully running on other j 3.8.10 / vm 3.2.14 sites
Title: Re: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: barbara on July 19, 2018, 20:42:09 PM
Quote? issue in administrator/components/com_virtuemart/models/products.php - maybe installation/update error.

I will try to redo the update
Title: Re: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded
Post by: GJC Web Design on July 20, 2018, 23:25:43 PM
the $omitLoaded stuff is from about 3.2.12 when the new cat and menu code was done . have u saved the config after the update ?

there are configs for omitLoaded - set in the vm admin templates