Crash after switching to PHP 8.0
-
After I have switched the website to PHP 8.0 (from 7.4) it shows only a white screen. The back end is still reachable.
When switching back to PHP 7.4 everything is OK again.
After enabling debug messages, here is what I get.
Sounds to me, as if there is a PHP 8.0 issue in Editor Plus.
Any advice?Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /var/www/wp-content/plugins/editorplus/includes/utils.php:172 Stack trace: #0 /var/www/wp-content/plugins/editorplus/includes/utils.php(392): editorplus_convert_position_to_percentage(‘NaN’) #1 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php(145): editorplus_background_convert(Array) #2 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php(62): EditorPlus_Styles_Generator->get_block_styles(Array, ‘eplus-styles-ui…’) #3 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-manager.php(216): EditorPlus_Styles_Generator->generate_styles_from_blocks(Array) #4 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-manager.php(40): EditorPlus_Styles_Manager->render_styles() #5 /var/www/wp-includes/class-wp-hook.php(308): EditorPlus_Styles_Manager->{closure}(”) #6 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /var/www/wp-includes/general-template.php(3049): do_action(‘wp_head’) #9 /var/www/wp-content/themes/astra/header.php(31): wp_head() #10 /var/www/wp-includes/template.php(783): require_once(‘/var/www/wp-con…’) #11 /var/www/wp-includes/template.php(718): load_template(‘/var/www/wp-con…’, true, Array) #12 /var/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #13 /var/www/wp-content/themes/astra/page.php(20): get_header() #14 /var/www/wp-includes/template-loader.php(106): include(‘/var/www/wp-con…’) #15 /var/www/wp-blog-header.php(19): require_once(‘/var/www/wp-inc…’) #16 /var/www/index.php(17): require(‘/var/www/wp-blo…’) #17 {main} thrown in /var/www/wp-content/plugins/editorplus/includes/utils.php on line 172
The page I need help with: [log in to see the link]
- The topic ‘Crash after switching to PHP 8.0’ is closed to new replies.