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?
There is no file named vm_search_ac.php in standard VM4 - a third-party extension or your template?
It is the problem with a search plugin called vm_search_ac. Just disable it.