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

An error has occurred. 0 Call to undefined method TableProducts::setDateFields()

Started by Zoi, May 17, 2022, 17:44:48 PM

Previous topic - Next topic

Zoi

Hello Virtuemart Forum

VirtueMart 4.0.2 10661
Joomla version, 3.10.9
Php version 7.4

We are facing an issue with a clients e-shop

The issue in the following steps:
log in to the administration area of virtuemart
--> Products (all products are shown)
--> We choose category filter (category products are shown)
-->We choose in category filter "Select product category" where all products previously shown
--> We no longer see all products but just a few

We tested the website in our previously backed up versions and we found the following error:
An error has occurred.
0 Call to undefined method TableProducts::setDateFields()

We noticed that the issue happened after to Virtuemart 4.0 update

We need help fixing this error
To exist means to do

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jjk

I would suggest to try the button 'Install or if necessary update tables' in the 'Tools & Migration' view and from the top menu use 'System' > 'Clear Cache' > 'Delete all'.
I followed your steps, but can't reproduce your problem in my installations.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Quote from: Zoi on May 17, 2022, 17:44:48 PM
We tested the website in our previously backed up versions and we found the following error:
An error has occurred.
0 Call to undefined method TableProducts::setDateFields()

When does this happen?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/