VirtueMart 4.0.4 10688 and PHP 8.0.26

Started by modernmagic, December 07, 2022, 02:34:37 AM

Previous topic - Next topic

modernmagic

When I try to upgrade from php 7.4 to php 8.0.26 the site has the following errors/debug info:

0 - error_reporting(): Argument #1 ($error_level) must be of type ?int, string given
Call stack
#   Function   Location
1   ()   JROOT/plugins/system/vm_search_ac/vm_search_ac.php:10
2   error_reporting()   JROOT/plugins/system/vm_search_ac/vm_search_ac.php:10


Dev site:  https://modernmagic18.sg-host.com/

Does VM 4 work with PHP 8?
Or is this another themeforest template issue?

jenkinhill

There is no file named vm_search_ac.php in standard VM4 - a third-party extension or your template?
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

Milbo

It is the problem with a search plugin called vm_search_ac. Just disable it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/