You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VirtueMart 4.0.4 10688 and PHP 8.0.26

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

Previous topic - Next topic


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:

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


There is no file named vm_search_ac.php in standard VM4 - a third-party extension or your template?
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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


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: