Site logo

[Resolved] customize.php – There has been a critical error on this website.

Home Forums Support [Resolved] customize.php – There has been a critical error on this website.

Home Forums Support customize.php – There has been a critical error on this website.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2195777
    Dann

    Hi, first time testing this theme – I installed the free version but could not get into customising the theme. When I go to customize.php it gives me this error:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    I tried upgrading to pro but still get the same error.

    all plugins off – just using your theme.

    Is there a minimum requirement for php? I am using 7.3 which I realise is a couple behind but have attempted a server-wide change to php 8 this morning which broke most of my sites.

    #2195787
    David
    Staff
    Customer Support

    Hi there,

    GP is compatible with PHP 7.x so that should not be an issue.

    If you first go to Dashboard > Tools > Site Health – are there any issues being reported ?

    Can you also ask your host to enable debugging on the server and get a report from the error_log so we can see what the critical error was.

    #2195843
    Dann

    Hi, site health all good.

    Error log below in private info:

    #2195858
    David
    Staff
    Customer Support

    The first errors are pointing to the class-wp-customize-nav-menu-item-setting.php function. Which is related to the navigation menus, do you have any menus setup in Appearance > Menus ?

    #2195870
    Dann

    Hi, yes, I had a menu set, also just tried creating a new basic menu with 1 menu item. The error still persists.

    #2195873
    David
    Staff
    Customer Support

    What happens if you DELETE any menus you have created ?

    #2195880
    Dann

    normal behaviour, menu deleted and gave me success message.

    #2195882
    Dann

    I’m trying this on an existing website on a development url. I am going to run some tests on a blank install and see what I get. I will report back. probably tomorrow now.

    Thanks for help so far!

    #2195889
    David
    Staff
    Customer Support

    Let us know how you get on.

    #2196850
    Dann

    Hi, it seems to have worked on a blank install – I am going to investigate further – must be some sort of content on the site itself which is causing an issue – I’ll remove all menus and see how that goes.

    #2196868
    David
    Staff
    Customer Support

    I did a bit of googling on that error:

    PHP message: PHP Fatal error: Uncaught Exception: Supplied nav_menu_item value missing property: description in

    Nothing real concrete, but other users who experienced that issue were generally working with dynamically generated menu items or had functions that were pulling in CSS classes or other attributes such as the description.

    Might give some pointers….

    Hope you figure it out!

    #2199293
    Dann

    hi, I removed all menus and I can now get into customiser – not sure which entry it didn’t like but I can now test the theme at least.

    : )

    #2199309
    David
    Staff
    Customer Support

    Glad to hear that!

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