vmError: Could not find product with id ####, entries exists for language? en-GB

Started by Sunshine9, May 28, 2020, 18:59:28 PM

Previous topic - Next topic

Sunshine9

VirtueMart 3.8.2 10325
PHP-Version 7.4.5
MySQLi  5.7.23-cll-lve
Joomla! 3.9.18 Stable

:) Hello,

After, changing my default language to US English. The images for products are missing and I get this error.
vmError: Could not find product with id ####, entries exists for language? en-GB

How do i fix this issue?

jenkinhill

I assume your products were added using real English (en-gb) and then you changed the site language. The previous entries will be in the en-gb tables - eg ###__virtuemart_products_en_gb but now the system is looking for entries in the ###_virtuemart_products_en_us  table

If you are happy using phpMyAdmin then you can delete the existing _en_us tables and rename the en_gb table to en_us

Backup the database first!!!
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