[Resolved] Can’t access customizer

Home Forums Support [Resolved] Can’t access customizer

Home Forums Support Can’t access customizer

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1576374
    fredyciang

    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

    #1576380
    fredyciang

    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
    #1576458
    Leo
    Staff
    Customer Support

    Hi there,

    Can you disable all plugins except GP Premium to test?

    Let me know ๐Ÿ™‚

    #1577252
    fredyciang

    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

    #1577729
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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