Title: Php 8 support &#8211; Uncaught Type error
Last modified: July 24, 2023

---

# Php 8 support – Uncaught Type error

 *  [neilneyman](https://wordpress.org/support/users/neilneyman/)
 * (@neilneyman)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-8-support-uncaught-type-error/)
 * Hi:
 * I’m trying to update a site to PHP 8.2, was previously on 7.4 which is currently
   EOL. Does the Gutenix theme support or have any plans to support 8.2? Or is something
   else causing this issue?
 * The site is crashing after updating with this fatal error.
 * `**Fatal error**: Uncaught TypeError: Cannot access offset of type string on 
   string in /var/www/allen/wp-content/themes/gutenix/assets/css/dynamic/dynamic-
   css.php:46 Stack trace: #0 /var/www/allen/wp-content/themes/gutenix/inc/modules/
   dynamic-css/cherry-x-dynamic-css.php(386): include() #1 /var/www/allen/wp-content/
   themes/gutenix/inc/modules/dynamic-css/cherry-x-dynamic-css.php(118): CX_Dynamic_CSS-
   >get_inline_css() #2 /var/www/allen/wp-includes/class-wp-hook.php(308): CX_Dynamic_CSS-
   >add_inline_css() #3 /var/www/allen/wp-includes/class-wp-hook.php(332): WP_Hook-
   >apply_filters() #4 /var/www/allen/wp-includes/plugin.php(517): WP_Hook->do_action()#
   5 /var/www/allen/wp-includes/script-loader.php(2194): do_action() #6 /var/www/
   allen/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts() #7 /var/www/allen/
   wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #8 /var/www/allen/
   wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/allen/wp-includes/
   general-template.php(3049): do_action() #10 /var/www/allen/wp-content/themes/
   gutenix/header.php(20): wp_head() #11 /var/www/allen/wp-includes/template.php(
   783): require_once('...') #12 /var/www/allen/wp-includes/template.php(718): load_template()#
   13 /var/www/allen/wp-includes/general-template.php(48): locate_template() #14/
   var/www/allen/wp-content/themes/gutenix/page.php(15): get_header() #15 /var/www/
   allen/wp-includes/template-loader.php(106): include('...') #16 /var/www/allen/
   wp-blog-header.php(19): require_once('...') #17 /var/www/allen/index.php(17):
   require('...') #18 {main} thrown in **/var/www/allen/wp-content/themes/gutenix/
   assets/css/dynamic/dynamic-css.php** on line **46**`
 * Also, getting a lot of similar warnings for the same dynamic-css file:
 * **Warning**: Trying to access array offset on value of type int in **… wp-content/
   themes/gutenix/assets/css/dynamic/dynamic-css.php** on line **16**
 * Thanks in advance!

The topic ‘Php 8 support – Uncaught Type error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/gutenix/1.1.10/screenshot.png)
 * Gutenix
 * [Support Threads](https://wordpress.org/support/theme/gutenix/)
 * [Active Topics](https://wordpress.org/support/theme/gutenix/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/gutenix/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/gutenix/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [neilneyman](https://wordpress.org/support/users/neilneyman/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/php-8-support-uncaught-type-error/)
 * Status: not resolved