Archived topic
Can't access customizer
4 replies · Started by Ginaphi on December 11, 2020
Hi, i cant access customize page at the moment. i tried to disable the GP Premium. only by then it will be able to be access.
here is the error on chrome console
GET https://10.10.10.58:2443/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dactive%26paged%3D1%26s 500
:2443/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dactive%26paged%3D1%26s:1
Headers of the error :
Request URL: https://10.10.10.58:2443/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php
Request Method: GET
Status Code: 500
Remote Address: 10.10.10.58:2443
Referrer Policy: strict-origin-when-cross-origin
Hi there,
Can you disable all plugins except GP Premium to test?
Let me know :)
apologize, i found the culprit. i was trying to modify the 'load more' ajax to displayed dynamically as multilingual using polylang function in functions.php
add_filter( 'option_generate_blog_settings', function( $settings ) {
$settings['masonry_load_more'] = pll('Load More');
$settings['masonry_loading'] = pll('Loading');
return $settings;
} );
supposed to be
add_filter( 'option_generate_blog_settings', function( $settings ) {
$settings['masonry_load_more'] = pll__('Load More');
$settings['masonry_loading'] = pll__('Loading');
return $settings;
} );
Thank you
No problem :)