Support » Theme: Total » Error: Illegal String offset after upgrading to PHP 7.2

  • Dear Forum Users and dear Theme Developer,

    today i got a message that i need to Update to PHP Version 7.2 (I’m currently on Version 5.6) but after Upgrading I can’t access my site any longer. I get this Message:

    Warning: Illegal string offset ‘label’ in /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/framework/customizer/customizer.php on line 769

    Warning: Illegal string offset ‘label’ in /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/framework/customizer/customizer.php on line 823

    Fatal error: Uncaught Error: Cannot use string offset as an array in /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/framework/customizer/customizer.php:823 Stack trace: #0 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/framework/customizer/customizer.php(878): WPEX_Customizer->loop_through_inline_css(‘css’) #1 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-includes/class-wp-hook.php(286): WPEX_Customizer->head_css(‘/*VC META CSS*/…’) #2 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘/*VC META CSS*/…’, Array) #3 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/functions.php(1155): apply_filters(‘wpex_head_css’, ”) #4 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-includes/class-wp-hook.php(286): WPEX_Theme_Setup::custom_css(”) #5 /homepages/46/d577537597/htdocs/blumenhauswasser/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /homepages/46/d577537597/ht in /homepages/46/d577537597/htdocs/blumenhauswasser/wp-content/themes/Total/framework/customizer/customizer.php on line 823

    It would be nice if anyone could help me with that issue.
    PS: I am using a child Theme ( Total Child) but the error leads to rhe Parent theme directory.

    Best regards

    julian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Oh Sorry i forgot to Post the lines of the customizer.php

    Line 769: $elements_to_alter[$element] = array( ‘css’ => ” );
    Line 823: $elements_to_alter[$element][‘css’] .= $alter .’:’. $theme_mod . $important .’;’;

    Theme Author Hash Themes

    (@hashthemes)

    Hi,

    The theme you are using does not belong to us. Our theme is a free one and the one you are using looks like paid one. So please contact the correct author.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: Illegal String offset after upgrading to PHP 7.2’ is closed to new replies.