Astra theme shows Fatal Error on PHP 8.0
-
Astra is one of the only themes that have this problem on PHP version 8
Fatal error: Uncaught Error: Call to undefined function ctype_xdigit() in /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/inc/core/common-functions.php:50 Stack trace: #0 /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/inc/class-astra-dynamic-css.php(187): astra_get_foreground_color() #1 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/class-wp-hook.php(292): Astra_Dynamic_CSS::return_output() #2 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters() #3 /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php(285): apply_filters() #4 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/class-wp-hook.php(292): Astra_Enqueue_Scripts->enqueue_scripts() #5 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/script-loader.php(2027): do_action() #8 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/class-wp-hook.php(292): wp_enqueue_scripts() #9 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #10 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #11 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/general-template.php(3009): do_action() #12 /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/header.php(26): wp_head() #13 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/template.php(730): require_once('/home/xslrir/do...') #14 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/template.php(676): load_template() #15 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/general-template.php(48): locate_template() #16 /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/page.php(20): get_header() #17 /home/xslrir/domains/xslrx.ir/public_html/wp-includes/template-loader.php(106): include('/home/xslrir/do...') #18 /home/xslrir/domains/xslrx.ir/public_html/wp-blog-header.php(19): require_once('/home/xslrir/do...') #19 /home/xslrir/domains/xslrx.ir/public_html/index.php(17): require('/home/xslrir/do...') #20 {main} thrown in /home/xslrir/domains/xslrx.ir/public_html/wp-content/themes/astra/inc/core/common-functions.php on line 50
- The topic ‘Astra theme shows Fatal Error on PHP 8.0’ is closed to new replies.