VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: modernmagic on December 07, 2022, 02:34:37 AM

Title: VirtueMart 4.0.4 10688 and PHP 8.0.26
Post by: modernmagic on December 07, 2022, 02:34:37 AM
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?
Title: Re: VirtueMart 4.0.4 10688 and PHP 8.0.26
Post by: jenkinhill on December 07, 2022, 13:23:36 PM
There is no file named vm_search_ac.php in standard VM4 - a third-party extension or your template?
Title: Re: VirtueMart 4.0.4 10688 and PHP 8.0.26
Post by: Milbo on December 20, 2022, 21:56:17 PM
It is the problem with a search plugin called vm_search_ac. Just disable it.