My site is running Enfold 4.7.3. My hosting provider (Bluehost) wants me to upgrade to PHP 8.+ but the theme is failing. According to my developer “I checked the code. Some theme functions are deprecated in PHP 8” For example, we get the error below:
An error of type E_COMPILE_ERROR was caused in line 2161 of the file /home1/prologik/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php. Error message: Array and string offset access syntax with curly braces is no longer supported
What’s the resolution path here?
Hey tlachev,
Please update Enfold to the latest version (4.9) which is compatible to PHP 8.
Please downgrade your PHP version first, backup your site, perform the theme update then upgrade the PHP version to 8.x.
Hope this helps.
Best regards,
Nikko