PHP 8 compatibility issue, fatal error in Customizer
-
When trying to use PHP 8, I ran into this PHP fatal error in the Customizer:
[08-Mar-2022 16:35:52 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/wp-content/themes/hestia-pro/inc/help Stack trace: #0 /var/www/wp-content/themes/hestia-pro/inc/helpers/layout-functions.php(1893): strpos(Array, 'fa-') #1 /var/www/wp-content/themes/hestia-pro/inc/addons/views/front-page/class-hestia-pricing-section.php(107): maybe_trigger_fa_loading(Array) #2 /var/www/wp-includes/class-wp-hook.php(307): Hestia_Pricing_Section->render_section(false) #3 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /var/www/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /var/www/wp-content/themes/hestia-pro/inc/addons/views/front-page/class-hestia-pricing-section.php(32): do_action('hestia_do_prici...', false) #6 /var/www/wp-includes/class-wp-hook.php(307): Hestia_Pricing_Section->do_section(false) #7 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #8 /var/www/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #9 /var/www/wp-content/themes/hestia-pro/front-page.php(39): do_action('hestia_sections', false) #10 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #11 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #12 /var/www/index.php(17): require('/var/www/wp-blo...') #13 {main} thrown in /var/www/wp-content/themes/hestia-pro/inc/helpers/layout-functions.php on line 1893
Please fix.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 8 compatibility issue, fatal error in Customizer’ is closed to new replies.