• Resolved maltfield

    (@maltfield)


    When I try to load the /wp-admin/customize.php page, the page is blank. Why?

    I just did a fresh install of wordpress in a VM running Debian 10. I did not install any plugins (though wordpress came with Akismet Anti-Spam
    installed by default). I have the latest version of WordPress from the
    debian repos installed — currently that’s 6.1.6 (which is listed as
    supported by this theme at the time of writing). WordPress is served by nginx 1.22.1 and php8.2-fpm. I’m using the latest version of this theme (downloaded yesterday) = v3.8.7.

    I’m using firefox 115.11.0esr and accessing the wordpress site at https://localhost:8081/

    When I click on Appearance -> Customize, I get an empty page.

    There are no PHP or web server errors appearing in the nginx logs.

    There are numerous errors appearing in the javascript console:

    Some cookies are misusing the recommended “SameSite“ attribute 2This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. customize.phpLayout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. node.js:383JQMIGRATE: Migrate is installed, version 3.3.2 load-scripts.php:5:709Uncaught ReferenceError: _ is not defined <anonymous> https://localhost:8081/wp-includes/js/wp-util.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/wp-util.min.js?ver=6.1.6:2wp-util.min.js:2:98Uncaught TypeError: b is undefined Backbone 3backbone.min.js:2:4383Uncaught ReferenceError: Backbone is not defined Backbone 2wp-backbone.min.js:2:138Uncaught TypeError: _ is undefined <anonymous> https://localhost:8081/wp-includes/js/media-models.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/media-models.min.js?ver=6.1.6:2media-models.min.js:2:12285Uncaught TypeError: wp.media.model is undefined <anonymous> https://localhost:8081/wp-includes/js/plupload/wp-plupload.min.js?ver=6.1.6:1 <anonymous> https://localhost:8081/wp-includes/js/plupload/wp-plupload.min.js?ver=6.1.6:1wp-plupload.min.js:1:5791Uncaught TypeError: a.view is undefined <anonymous> https://localhost:8081/wp-includes/js/media-views.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/media-views.min.js?ver=6.1.6:2media-views.min.js:2:107410Uncaught TypeError: _ is undefined <anonymous> https://localhost:8081/wp-includes/js/shortcode.min.js?ver=6.1.6:2shortcode.min.js:2:574Uncaught TypeError: wp.media.view is undefined <anonymous> https://localhost:8081/wp-includes/js/media-editor.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/media-editor.min.js?ver=6.1.6:2media-editor.min.js:2:5065Uncaught TypeError: wp.media.view is undefined <anonymous> https://localhost:8081/wp-includes/js/media-audiovideo.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/media-audiovideo.min.js?ver=6.1.6:2media-audiovideo.min.js:2:10628Uncaught TypeError: wp.media.controller is undefined mediaWidgets https://localhost:8081/wp-admin/js/widgets/media-widgets.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/media-widgets.min.js?ver=6.1.6:2media-widgets.min.js:2:101Uncaught TypeError: wp.mediaWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:191customize.php:191:1Uncaught TypeError: wp.media.view is undefined <anonymous> https://localhost:8081/wp-admin/js/widgets/media-audio-widget.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/media-audio-widget.min.js?ver=6.1.6:2media-audio-widget.min.js:2:33Uncaught TypeError: wp.mediaWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:195customize.php:195:1Uncaught TypeError: a is undefined <anonymous> https://localhost:8081/wp-admin/js/widgets/media-image-widget.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/media-image-widget.min.js?ver=6.1.6:2media-image-widget.min.js:2:35Uncaught TypeError: wp.mediaWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:203customize.php:203:1Uncaught TypeError: wp.media.view is undefined <anonymous> https://localhost:8081/wp-admin/js/widgets/media-gallery-widget.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/media-gallery-widget.min.js?ver=6.1.6:2media-gallery-widget.min.js:2:33Uncaught TypeError: wp.mediaWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:211customize.php:211:1Uncaught TypeError: wp.media.view is undefined <anonymous> https://localhost:8081/wp-admin/js/widgets/media-video-widget.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/media-video-widget.min.js?ver=6.1.6:2media-video-widget.min.js:2:33Uncaught TypeError: wp.mediaWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:219customize.php:219:1Uncaught ReferenceError: Backbone is not defined textWidgets https://localhost:8081/wp-admin/js/widgets/text-widgets.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/text-widgets.min.js?ver=6.1.6:2text-widgets.min.js:2:94Uncaught TypeError: wp.textWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:227customize.php:227:1Uncaught ReferenceError: Backbone is not defined customHtmlWidgets https://localhost:8081/wp-admin/js/widgets/custom-html-widgets.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/widgets/custom-html-widgets.min.js?ver=6.1.6:2custom-html-widgets.min.js:2:151Uncaught TypeError: wp.customHtmlWidgets is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:236customize.php:236:1Uncaught TypeError: _ is undefined <anonymous> https://localhost:8081/wp-admin/load-scripts.php?c=1&load[chunk_0]=heartbeat,customize-base,customize-controls,customize-widgets,wp-autop,wp-block-serialization-default-parser,wp-html-entities,wp&load[chunk_1]=-shortcode&ver=6.1.6:6 <anonymous> https://localhost:8081/wp-admin/load-scripts.php?c=1&load[chunk_0]=heartbeat,customize-base,customize-controls,customize-widgets,wp-autop,wp-block-serialization-default-parser,wp-html-entities,wp&load[chunk_1]=-shortcode&ver=6.1.6:6load-scripts.php:6:8452Uncaught ReferenceError: Backbone is not defined <anonymous> https://localhost:8081/wp-admin/js/customize-nav-menus.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/customize-nav-menus.min.js?ver=6.1.6:2customize-nav-menus.min.js:2:772Uncaught ReferenceError: Backbone is not defined <anonymous> https://localhost:8081/wp-includes/js/customize-models.js?ver=6.1.6:27 <anonymous> https://localhost:8081/wp-includes/js/customize-models.js?ver=6.1.6:281customize-models.js:27:2Uncaught TypeError: wp.Backbone.View is undefined <anonymous> https://localhost:8081/wp-includes/js/customize-views.js?ver=6.1.6:24 <anonymous> https://localhost:8081/wp-includes/js/customize-views.js?ver=6.1.6:202customize-views.js:24:2Uncaught ReferenceError: Backbone is not defined <anonymous> https://localhost:8081/wp-includes/js/mce-view.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-includes/js/mce-view.min.js?ver=6.1.6:2mce-view.min.js:2:1737Uncaught TypeError: g.template is not a function <anonymous> https://localhost:8081/wp-admin/js/updates.min.js?ver=6.1.6:2 <anonymous> https://localhost:8081/wp-admin/js/updates.min.js?ver=6.1.6:2updates.min.js:2:1711Uncaught TypeError: e.Control is undefined <anonymous> https://localhost:8081/wp-content/themes/neve/assets/js/build/all/customizer-controls.js?ver=3.8.7:1 <anonymous> https://localhost:8081/wp-content/themes/neve/assets/js/build/all/customizer-controls.js?ver=3.8.7:1customizer-controls.js:1:10296Uncaught TypeError: wp.customize.Control is undefined 241 https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:1 i https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:5 a https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:5 O https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:5 <anonymous> https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:5 <anonymous> https://localhost:8081/wp-content/themes/neve/assets/apps/customizer-controls/build/controls.js?ver=72bcce46a1bed968052e1920f0359d00:5controls.js:1:818Uncaught TypeError: _ is undefined <anonymous> https://localhost:8081/wp-admin/customize.php:6024customize.php:6024:4Uncaught TypeError: class heritage e.Control is not an object or null Le https://localhost:8081/wp-includes/js/dist/customize-widgets.min.js?ver=323c27f4fff5e87062f9:7 Ue https://localhost:8081/wp-includes/js/dist/customize-widgets.min.js?ver=323c27f4fff5e87062f9:7 <anonymous> https://localhost:8081/wp-admin/customize.php:2494 n jQuery <anonymous> https://localhost:8081/wp-admin/customize.php:2493customize-widgets.min.js:7:33485GEThttps://localhost:8081/favicon.ico[HTTP/1.1 404 Not Found 0ms]XHRGEThttps://localhost:8081/index.php?rest_route=/wp/v2/widget-types&context=edit&per_page=100&_locale=user[HTTP/1.1 502 Bad Gateway 39ms]

    If I change the theme to the only other theme installed (the default = Twenty Twenty-Three that came with wordpress), then I can load the customize.php page without issue.

    Where can I report this bug?

    • This topic was modified 5 months, 2 weeks ago by maltfield.
    • This topic was modified 5 months, 2 weeks ago by maltfield.
    • This topic was modified 5 months, 2 weeks ago by maltfield.
    • This topic was modified 5 months, 2 weeks ago by maltfield.
    • This topic was modified 5 months, 2 weeks ago by maltfield.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Thank you for sharing this.

    Can you please let me know how you’ve installed Neve? Did you download it and then upload it as a zip?

    If that’s so, can you please try install it from Appearance > Themes > Add New Theme > search for Neve and Install & Activate.

    Other than that, please try with other more complex themes as well, for example Astra, OceanWP or Kadence and let us know how that goes.

    Kind regards,

    Thread Starter maltfield

    (@maltfield)

    let me know how you’ve installed Neve?

    Download .zip with wget, scp to server, unzip in wp-content/themes/ folder

    can you please try install it from Appearance > Themes > Add New Theme > search for Neve and Install & Activate.

    I cannot.

    For security reasons, wordpress config is set with WP_HTTP_BLOCK_EXTERNAL. Moreover, our firewall blocks the web server from being able to initiate requests. To install plugins and themes, we use scp and ssh.

    define( 'WP_HTTP_BLOCK_EXTERNAL', true );

    Hi,

    Ok, I understand.

    Probably some of these server configurations are causing the errors in Customizer.

    You can try with other themes as well to see if there is any difference.

    Unfortunately, I’m not able to help here anymore. You can check with your hosting provider if there are any changes you can do to the server, if this is what you want.

    Kind regards

    Thread Starter maltfield

    (@maltfield)

    Our server is a VPS (though currently I’m just testing on a VM on my laptop). Anyway, I am the admin responsible for the server’s configuration.

    This security hardening is intentional. It’s a best-practice feature that’s built-into WordPress. It shouldn’t cause any issues to install the theme the traditional way with scp.

    I reported the bug here:

    • This reply was modified 5 months, 2 weeks ago by maltfield.
    • This reply was modified 5 months, 2 weeks ago by maltfield.
    • This reply was modified 5 months, 2 weeks ago by maltfield.

    Hi,

    Ok, thank you for the update.

    I’m looking forward to see what the dev team will share about this.

    Have a great day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.