Author Topic: Access to undeclared static property: VirtueMartModelProduct::$omitLoaded  (Read 255 times)

barbara

  • Jr. Member
  • **
  • Posts: 136
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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1608
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Php version ? Upgraded from what ? Tested with Protostar ? Cleaned cache after switch ? Updated AIO also ?

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26924
  • Always on vacation
    • Jenkin Hill Internet
? issue in administrator/components/com_virtuemart/models/products.php - maybe installation/update error.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

barbara

  • Jr. Member
  • **
  • Posts: 136
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

barbara

  • Jr. Member
  • **
  • Posts: 136
Quote
? issue in administrator/components/com_virtuemart/models/products.php - maybe installation/update error.

I will try to redo the update

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7885
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation