Ecommerce Shopify WordPress Discussion

call_user_func_array() fatal error with WordPress PHP8 upgrade [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 5 days ago. Improve this question I recently (finally) upgraded my wordpress site to PHP8 and got a bunch of errors (which is why I delayed it so long!). I fixed most of them but there's one that has stumped. I've had revert back to PHP7 so my site keeps working but here is the error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'load_fonts' not found or invalid function name in /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php on line 324 Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "load_fonts" not found or invalid function name in /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php:324 Stack trace: #0 /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /homepages/28/d194281202/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /homepages/28/d194281202/htdocs/wp-includes/functions.wp-styles.php(57): do_action() #3 /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php(324): wp_print_styles() #4 /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /homepages/28/d194281202/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /homepages/28/d194281202/htdocs/wp-includes/general-template.php(3052): do_action() #7 /homepages/28/d194281202/htdocs/wp-content/themes/jrf-artist/header.php(43): wp_head() #8 /homepages/28/d194281202/htdocs/wp-includes/template.php(790): require_once('/homepages/28/d...') #9 /homepages/28/d194281202/htdocs/wp-includes/template.php(725): load_template() #10 /homepages/28/d194281202/htdocs/wp-includes/general-template.php(48): locate_template() #11 /homepages/28/d194281202/htdocs/wp-content/themes/jrf-artist/home.php(6): get_header() #12 /homepages/28/d194281202/htdocs/wp-includes/template-loader.php(106): include('/homepages/28/d...') #13 /homepages/28/d194281202/htdocs/wp-blog-header.php(19): require_once('/homepages/28/d...') #14 /homepages/28/d194281202/htdocs/index.php(17): require('/homepages/28/d...') #15 {main} thrown in /homepages/28/d194281202/htdocs/wp-includes/class-wp-hook.php on line 324 From what I've read elsewhere it might not be to do with line 324 of class-wp-hook.php itself, but I have no idea where to look for 'load_fonts".
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.