News:

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

Main Menu

Call to undefined function str_contains()

Started by cdbaron88, June 14, 2024, 12:23:34 PM

Previous topic - Next topic

cdbaron88

PHP 7.4.33
joomla 3.10.12
virtuemart 3.8.8 10472


I am testing the update to VM 4.2.14.11022.

I always perform tests on a development server, and the secure path where invoice files are stored does not exist. Therefore, I get the following message:
Error
vmError: Warning, the Safe Path is not accessible (does not exist or no permission). Use this link to the setup wizard
And I have to follow the "setup wizard" link to fix it.

Now with VM 4.2.14.11022, I get the following error:
Call to undefined function str_contains()
JROOT/administrator/components/com_virtuemart/views/updatesmigration/tmpl/default_spwizard.php:52

str_contains appeared in PHP8.
I haven't been able to do many more tests, but it seems that VM4 is moving to PHP8.

Carlos.