Support » Theme: Twenty Twenty-One » Critical error when I try to customize site.

  • Resolved a.v.gor

    (@avgor)


    Installed WordPress, try to customize my new site and got critical error.

    [19-Apr-2021 10:16:44 UTC] PHP Warning:  include_once(//[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-color-control.php): failed to open stream: No such file or directory in //[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php on line 121
    [19-Apr-2021 10:16:44 UTC] PHP Warning:  include_once(): Failed opening '//[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-color-control.php' for inclusion (include_path='.:/opt/php/php-7.4.16/share/pear') in //[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php on line 121
    [19-Apr-2021 10:16:44 UTC] PHP Fatal error:  Uncaught Error: Class 'Twenty_Twenty_One_Customize_Color_Control' not found in //[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php:139
    Stack trace:
    #0 //[my_site_path]/wp-includes/class-wp-hook.php(292): Twenty_Twenty_One_Customize->register(Object(WP_Customize_Manager))
    #1 //[my_site_path]/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #2 //[my_site_path]/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 //[my_site_path]/wp-includes/class-wp-customize-manager.php(933): do_action('customize_regis...', Object(WP_Customize_Manager))
    #4 //[my_site_path]/wp-includes/class-wp-hook.php(292): WP_Customize_Manager->wp_loaded('')
    #5 //[my_site_path]/wp-include in //[my_site_path]/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php on line 139

    All files are on server.

    I tried to change php version to lower, but it didn’t help.

    Tech support of hosting provider says that problem is in theme. Another themes works good, but that theme (twentytwentyone) on another site (and another hosting provider) works good too.

    • This topic was modified 3 weeks, 3 days ago by a.v.gor.
    • This topic was modified 3 weeks, 3 days ago by a.v.gor.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.