/wp-admin/customize.php
page, the page is blank. Why?Akismet Anti-Spam
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?
]]>I have already tried:
– disabling all plugins (only two are installed since it is a fresh WP installation)
– Adding “define(‘CONCATENATE_SCRIPTS’, false);” to wp-config.php
– Uninstall and re-installing WP
I’m at a lost of what to do next. Your assistance is greatly needed and appreciated.
]]>I disabled the autoredirects in wp-admin to prevent the access to the login url, however, this doesn’t apply just to the file “/wp-admin/customize.php”
This is the code I used:
function remove_default_redirect()
{
remove_action('template_redirect', 'wp_redirect_admin_locations', 1000);
}
Thanks for your time.
I don’t know how to disable this redirect.
]]>I want to add “none” option to the Woocommerce shop page display combo-box. I ‘v just done it by change Woocommerce plugin codes directly that takes me time to edit it every time Woocommerce updates.
Thanks for any help
]]>
$wp_customize->add_control('mytheme_search_button_text',array(
'type' => 'text',
'section' => 'mytheme_search_button_text',
'setting' => 'mytheme_search_button_text',
'input_attrs' => array( 'class' => 'i18n-multilingual')
));
And the class displays correctly in the customization page, I was under the impression that all I needed to do is add the class i18n-multilingual to the theme fields and qTranslate-x will take care of the rest. I changed themes and back, nothing happens.
So is this NOT the right way to integrate qTranslate-x into my theme? If so, what should I do to make the plugin pickup fields in customize.php
Thanks
]]>I’m building a WordPress website on my local machine using XAMPP. I’ve downloaded & installed WP 4.9.1 and have installed the theme I want to use. When I go to Appearance —> Themes —> Customize (which calls customize.php), the page doesn’t load properly. (see link below for screenshot)
I have tried switching to Twenty Fifteen and Twenty Sixteen themes and doing the same thing, they have the same problem which leads me to believe I need to change something on my localhost installation to get it to work. I have no plugins installed, this is a brand new installation of WP.
I’ve uploaded a screenshot to show the display issue: https://ibb.co/c2FoQG
When I attempt to the do the same thing to the live website, the customizer works just fine. I’m confident there is something else I need to adjust/change to get it to work on my local machine, but I’m not sure what it is. Has anyone run into this before?
Thanks!
EDIT: In the chrome browser developer tools console, I noticed a lot of “Uncaught ReferenceError: jQuery is not defined” error messages. Is this a function of running this on localhost? How do I define the jQuery call on a local installation?
]]>I was trying to figure out how to make the WordPress admin bar/toolbar display on the “Theme Customizer” page/view. Someone suggested that I could try adding the following line of code to my “/wp-admin/customize.php” file, so I did:
add_filter('show_admin_bar', '__return_true');
Well, not only did it not work, it has seemingly irreparably broken the Theme Customizer functionality altogether. Now, when I try to load a Theme Customizer page (for example, /wp-admin/customize.php?et_customizer_option_set=theme), the page is entirely blank/white, except for this entirely unhelpful error message:
[an error occurred while processing this directive]
I have tried all of the following “fixes” (in order), to no avail:
1. reverted the “/wp-admin/customize.php” file to its previous state;
2. restored the theme from backup;
3. restored the database from backup;
4. restored all uploads from backup;
5. disabled all plugins;
6. re-installed WordPress core (4.1.8);
7. checked on the .htaccess file, which was not modified.
Nothing works. How could one line of code in “/wp-admin/customize.php” — a line that has since been 100% reverted — cause this sort of damage? What am I missing? (I noticed that no files in the /wp-admin/ or /wp-includes/ folders were modified when I reinstalled WordPress core.)
Thank you very much in advance!
Jason
]]>Regards
Gijs