using Avada Theme 7.11.9, WordPress 6.5.4, TranslatePress, all together with PHP 7.4.
As soon as we upgrade to PHP 8.X we got hundreds of PHP Fatal Errrors thrown by the Avada Theme, no child theme, everything up to date:
[07-Jun-2024 20:17:00 UTC] PHP Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/metaboxes/tabs/tab_page.php:69
Stack trace:
#0 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/metaboxes/tabs/tab_page.php(69): sprintf()
#1 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/metaboxes/metaboxes.php(271): avada_page_options_tab_page()
#2 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/class-fusion-dynamic-css-from-options.php(160): PyreThemeFrameworkMetaboxes->get_options()
#3 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/class-fusion-dynamic-css-from-options.php(126): Fusion_Dynamic_CSS_From_Options->init()
#4 /home/abc/domains/abc.solutions/public_html/wp-includes/class-wp-hook.php(324): Fusion_Dynamic_CSS_From_Options->dynamic_css_array_filter_po()
#5 /home/abc/domains/abc.solutions/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#6 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-helpers.php(390): apply_filters()
#7 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css.php(306): Fusion_Dynamic_CSS_Helpers->get_dynamic_css()
#8 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-helpers.php(260): Fusion_Dynamic_CSS->generate_final_css()
#9 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css.php(361): Fusion_Dynamic_CSS_Helpers->dynamic_css_cached()
#10 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-inline.php(109): Fusion_Dynamic_CSS->make_css()
#11 /home/abc/domains/abc.solutions/public_html/wp-includes/class-wp-hook.php(324): Fusion_Dynamic_CSS_Inline->add_inline_css_wp_head()
#12 /home/abc/domains/abc.solutions/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /home/abc/domains/abc.solutions/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /home/abc/domains/abc.solutions/public_html/wp-includes/general-template.php(3050): do_action()
#15 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/header.php(21): wp_head()
#16 /home/abc/domains/abc.solutions/public_html/wp-includes/template.php(810): require_once('/home/abc/domai...')
#17 /home/abc/domains/abc.solutions/public_html/wp-includes/template.php(745): load_template()
#18 /home/abc/domains/abc.solutions/public_html/wp-includes/general-template.php(48): locate_template()
#19 /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada-Child-Theme/100-width.php(15): get_header()
#20 /home/abc/domains/abc.solutions/public_html/wp-includes/template-loader.php(106): include('/home/abc/domai...')
#21 /home/abc/domains/abc.solutions/public_html/wp-blog-header.php(19): require_once('/home/abc/domai...')
#22 /home/abc/domains/abc.solutions/public_html/index.php(17): require('/home/abc/domai...')
#23 {main}
thrown in /home/abc/domains/abc.solutions/public_html/wp-content/themes/Avada/includes/metaboxes/tabs/tab_page.php on line 69
We enabled WP Debugging and got the errors mentioned above.