• Resolved Arvind

    (@arvindwp)


    Upon clicking CUSTOMIZATION, I am getting this — “There has been a critical error on your website.”

    I am facing resembling issue. The customiser panel is not working. The hosting support informed me of PHP error in public_html/wp-content/themes/kadence/inc/customizer/options/custom-layout-options.php on line 1867

    Currently last few lines (line 1857-1867 which is the last line in code) read as

    ::add_settings(
    array(
    ‘info_custom_post_types_placehoder’ => array(
    ‘control_type’ => ‘kadence_title_control’,
    ‘section’ => ‘custom_posts_placeholder’,
    ‘priority’ => 10,
    ‘label’ => esc_html__( ‘Custom Post Types’, ‘kadence’ ),
    ‘settings’ => false,
    ),
    ),
    );
    The last line is marked with an ERROR sign – a PHP Parse error: syntax error, unexpected ‘)’ in last line above.

    What is the fix please?

    I am unable to use the Customizer panel Screenshot https://ibb.co/zf7vYkp

    Regards
    Arvind

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • aroundram

    (@aroundram)

    me too

    the screenshot https://ibb.co/fHZBZ7Q

    Thread Starter Arvind

    (@arvindwp)

    @Kadence Team
    I have temporarily installed other theme and Elementor till we have the fix.
    This combination is letting me use the CUSTOMIZER panel.
    Regards.

    Thread Starter Arvind

    (@arvindwp)

    Reverted back to Kadence theme + blocks combination.

    hannah

    (@hannahritner)

    Hi,
    Can you confirm that you’re running all updated versions of the theme, your plugins and WordPress? Have you tried deactivating plugins to test if any are conflicting?

    Kindly,
    Hannah

    Thread Starter Arvind

    (@arvindwp)

    Updated themes and plugins – yes
    Screenshots https://ibb.co/wQcK4gx and https://ibb.co/48h2jyv
    Deactivated and tried – yes. It was easy as I have just 3 plugins. Yet, the issue persists.

    Thread Starter Arvind

    (@arvindwp)

    @hannahritner

    As soon I use the customiser, I get this email from WP
    ======

    Howdy!
    
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with your theme, Kadence.
    
    First, visit your website (https://drut.in/) and check for any visible issues. Next, visit the page where the error was caught (https://drut.in/wp-admin/customize.php?return=%2Fwp-admin%2Fthemes.php) and check for any visible issues.

    (continues…)
    ======

    hannah

    (@hannahritner)

    Hey,
    Do you know what version of PHP you’re running? I suggest reaching out to your host and asking them. It’s possible that needs to be updated.

    Kindly,
    Hannah

    Thread Starter Arvind

    (@arvindwp)

    Yesss! That was THE reason. Fixed it. It was PHP 7.2 (now deprecated)
    I’ve set it up to ver. 7.4, and https://ibb.co/sVRfpNk now the customizer is working.
    Thank you dear.

    hannah

    (@hannahritner)

    Oh good! Happy to help!

    Best,
    Hannah

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘CUSTOMIZATION gets “critical error on your website” message’ is closed to new replies.