• Resolved gbps

    (@gbps)


    Hello, I get the following error message when I try to customise any theme on my wordpress website https://www.goodboypetservices.co.uk : –

    Fatal error: Uncaught exception 'Exception' with message 'Supplied nav_menu_item value missing property: description' in /websites/123reg/LinuxPackage23/go/od/bo/goodboypetservices.co.uk/public_html/wp-includes/class-wp-customize-setting.php:824 Stack trace: #0 /websites/123reg/LinuxPackage23/go/od/bo/goodboypetservices.co.uk/public_html/wp-includes/class-wp-customize-nav-menus.php(538): WP_Customize_Nav_Menu_Item_Setting->__construct(Object(WP_Customize_Manager), 'nav_menu_item[6...', Array) #1 [internal function]: WP_Customize_Nav_Menus->customize_register(Object(WP_Customize_Manager)) #2 /websites/123reg/LinuxPackage23/go/od/bo/goodboypetservices.co.uk/public_html/wp-includes/plugin.php(503): call_user_func_array(Array, Array) #3 /websites/123reg/LinuxPackage23/go/od/bo/goodboypetservices.co.uk/public_html/wp-includes/class-wp-customize-manager.php(442): do_action('customize_regis...', Object(WP_Customize_Manager)) #4 [internal function]: WP_Customize_Manager->wp_loaded('') #5 /websites/123reg/LinuxPackage23/go/od/bo/g in /websites/123reg/LinuxPackage23/go/od/bo/goodboypetservices.co.uk/public_html/wp-includes/class-wp-customize-setting.php on line 824

    It happens on any theme. I have tried reinstalling wordpress manually and deactivating all plugins, but I still get the same error message. I have also been in touch with my hosts support who haven’t been very helpful to say the least.

    I have a second site working on the server https://www.dannycourtis.co.uk and it will allow me to access the customiser. Any ideas on how to fix this would be much appreciated as I have tried over and over and am unable to fix it. Thanks in advance.

Viewing 15 replies - 1 through 15 (of 32 total)
  • Moderator James Huff

    (@macmanx)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.

    Thread Starter gbps

    (@gbps)

    Hi James, I have already tried deactivating all plugins which didn’t resolve the issue unfortunately.

    It’s not theme specific either as I have tried other themes including Twenty Fifteen and still get the same error message.

    Any other ideas?

    Moderator James Huff

    (@macmanx)

    Yes, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter gbps

    (@gbps)

    I tried that twice. I still get the same error. Which makes me wonder if it’s something in the wp-config.php or .htaccess files (Or one of the files that I keep when I do a reinstall) that is causing the problem?

    What if I deleted every file on the server (I’ve backed it up via FTP) and do a new install of wordpress and import the backed up database. And start from fresh, that could be worth a try? I believe I won’t lose anything that way?

    Moderator James Huff

    (@macmanx)

    Before you do that, try re-naming .htaccess to just htaccess (remove the dot). If you don’t have the same problem, then it’s the .htaccess file.

    If you still have the same problem, make a new wp-config.php file using the wp-config-sample.php template.

    Thread Starter gbps

    (@gbps)

    I renamed .htaccess to htaccess but it makes the website unaccessable. Via either the website at https://www.goodboypetservices.co.uk or https://www.goodboypetservices.co.uk/wp-admin

    I tried making a new wp-config.php file using the wp-config-sample.php file but then when I go to the website I get the following message: –

    Error establishing a database connection

    Moderator James Huff

    (@macmanx)

    In the new wp-config.php file, you have to enter the correct database connection details. wp-config-sample.php is only a template.

    Thread Starter gbps

    (@gbps)

    I renamed .htaccess to htaccess, updated the wp-config-sample.php with the database connection details and put it on the server as wp-config.php but still have the same fatal error message.

    Moderator James Huff

    (@macmanx)

    Odd, what version of PHP is your server running?

    Thread Starter gbps

    (@gbps)

    PHP/5.3.29

    Moderator James Huff

    (@macmanx)

    Do you have access to your server error logs? I’m curious as to what they say when you trigger the error.

    Thread Starter gbps

    (@gbps)

    I have followed the instructions from the webhost on how to view error logs but they are blank unfortunately.

    Moderator James Huff

    (@macmanx)

    Ok, so those aren’t working right either.

    So, where we are right now is that PHP thinks something is wrong with the core files.

    But, you replaced them all (right?) which means PHP is misconfigured, or a third-party function is interfering.

    But, you’re using a supported version of PHP, and you have determined that the issue happens with no plugins and with the default Twenty Fifteen theme (right?).

    So, that would lead me to suspect a PHP configuration issue, but we can’t even hope to close to that without server error log entries, which are blank, which is starting to really make me think it *is* a PHP or server configuration issue.

    I think it’s time to contact your hosting provider about this.

    Thread Starter gbps

    (@gbps)

    The strange thing is I have a second site on the server, and don’t get the same error on the customisation menu. I have even tried deleting the second sites files which didn’t help.

    I had been in touch with my hosting company 123-reg about this. Their last response was this:-

    “Most of the form pages related to the errors you are encountering advise on deactivating all your plugins: https://www.ads-software.com/support/topic/fatal-error-1830, however since you already tried this, at this point I would strongly recommend you contact a web developer which should help you resolve the issues you are currently encountering.
    I am afraid that coding related matters such as this one are a little outside our area of expertise.
    If we can be of any further help with regard to this or any other matter, please do not hesitate to contact us.”

    I have copied your response to them about it looking like a PHP or server configuration issue but based on their last response I don’t hold out much help

    Thanks for your patience and advice. If you or anybody else has any other suggestions it would be appreciated.

    Moderator James Huff

    (@macmanx)

    Yeah, if they can at least get your server error logs working correctly, we’ll at least have a few more things to try.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Fatal error on Appearance > Customise’ is closed to new replies.