• Currently, I have a serious problem with the theme at a client’s site.

    There are no customizations possible, since the theme crashes when entering the Customizer.

    Log:

    
    [09-Feb-2022 05:24:33 UTC] PHP Fatal error:  Uncaught ValueError: Unknown format specifier " " in /mnt/web506/a3/33/510740933/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/screenr/inc/customizer.php:936
    Stack trace:
    #0 app/wp-content/themes/screenr/inc/customizer.php(936): sprintf()
    #1 app/wp-includes/class-wp-hook.php(307): screenr_customize_register()
    #2 app/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 app/wp-includes/plugin.php(474): WP_Hook->do_action()
    #4 app/wp-includes/class-wp-customize-manager.php(933): do_action()
    #5 app/wp-includes/class-wp-hook.php(307): WP_Customize_Manager->wp_loaded()
    #6 app/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 app/wp-includes/plugin.php(474): WP_Hook->do_action()
    #8 app/wp-settings.php(609): do_action()
    #9 app/wp-config.php(113): require_once('...')
    #10 app/wp-load.php(50): require_once('...')
    #11 app/wp-admin/admin.php(34): require_once('...')
    #12 app/wp-admin/customize.php(13): require_once('...')
    #13 {main}
      thrown in app/wp-content/themes/screenr/inc/customizer.php on line 936
    

    I reinstalled the theme (download from this site and replace the files via sftp). No success. I did not change the theme’s files in any way.

    If you need more information, I’m very open to gather them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I observed something very similar in customize.php – the error message from here is:

    PHP Warning: Undefined array key 1 in /wp-includes/vars.php on line 32

    mind you: “vars.php” is WordPress kernel code.

    In fact, this behavior appears to be caused by some data not being properly set somewhere in the theme. Maybe that helps?

    I was able to solve this problem as a hotfix by falling back from PHP 8.0 to 7.4.

    Thread Starter ericfischereu

    (@ericfischereu)

    Thanks for the hint.

    I solved this by removing every ads block for the pro version. Now it works.
    However, I won’t install this theme again, if an advertisement breaks the site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Screenr crashes when entering Customizer’ is closed to new replies.