• Resolved andybram

    (@andybram)


    After migrating server and updating to V4.4.2 the following options bring me to a 500 error screen.

    – Customize
    – Header
    – Background

    This problem occurs with ALL themes.

    Am currently using 2016

    Have tried…
    Deactivating all plugins.
    A complete fresh install of wp… automatic AND manual.
    Removing and recreating .htacces file

    The last thing I tried was removing all WP files and creating a completely fresh install with a new db.
    This worked…. then I changed the wp-config file to point to the old db and the problem returned.

    I feel I have tried everything and have been working on this for over a week and my web host support has given up on it too. they say it seems the problem is with the wp database and that I need a web developer to solve the problem.

    Here is the error log they sent me…

    [02-Feb-2016 23:57:38 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Supplied nav_menu_item value missing property: description’ in /home/andybram/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php:191
    Stack trace:
    #0 /home/andybram/public_html/wp-includes/class-wp-customize-nav-menus.php(551): WP_Customize_Nav_Menu_Item_Setting->__construct(Object(WP_Customize_Manager), ‘nav_menu_item[1…’, Array)
    #1 [internal function]: WP_Customize_Nav_Menus->customize_register(Object(WP_Customize_Manager))
    #2 /home/andybram/public_html/wp-includes/plugin.php(525): call_user_func_array(Array, Array)
    #3 /home/andybram/public_html/wp-includes/class-wp-customize-manager.php(583): do_action(‘customize_regis…’, Object(WP_Customize_Manager))
    #4 [internal function]: WP_Customize_Manager->wp_loaded(”)
    #5 /home/andybram/public_html/wp-includes/plugin.php(525): call_user_func_array(Array, Array)
    #6 /home/andybram/public_html/wp-settings.php(413): do_action(‘wp_loaded’)
    #7 /home/andybram/public_html/wp-config.php(91): require in /home/andybram/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php on line 191

    Any ideas welcome,
    Thankyou.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Andybram,

    A 505 error is a intern error in your website. Mostly when you change something in the .htaccess file. What did you change? Maybe you can it undo by unsing filezilla. Donwload the file, update in note file (not (open) word) and upload it at the same place.

    I hope this will help you ??

    Thread Starter andybram

    (@andybram)

    Thanks but this did not help…
    Nothing was changed in this file, I even removed it and created a new one which now just has the auto generated permalink structure in it.

    Also checked with an old backup version… nothing has been changed there.
    Problem still exists.

    If you any acces to your file, please rename your active folder of your theme. Upload or active another theme. Check if the problem is resolved. If not, you can change your theme back. Otherwise there are some problems with your theme.

    If you have update the core files of WordPress by an update, it’s lookslike your theme are not compatibel with WordPress 4.4.2 in my opinion. Did you have a backup with an earlier version (before 4.4.2). You can upload this core files with Filezilla. Don’t upload any other file in wp-conten and don’t copy .htaccess to your server.

    If you want, I will check it if you don’t know how to do. Hopefully it’s will help you!

    Warning!! Before your change something, please make a back-up of your website and database! I am not responsible for errors or demage.

    Thread Starter andybram

    (@andybram)

    Michael,

    Thanks… I have already tried this step but once more I followed your instructions, renamed the 2016 theme folder and activated the 2015 theme.
    The problem remains.

    I have as you suggested updated my core files, several times now.

    With the 2016 theme being the default theme I imagine that it is compatible.

    I have an earlier backup which I can upload… when I do so the problem is solved momentarily…. until I update any of the themes or
    update to the latest version of wp.

    I believe it is a problem with the database as I can use the actual installation I have and point it to another database… this does not give me problems.

    You are welcome ??

    I think, the problem is inside your database if I read your story. Maybe there are some conflicts between your theme and plugins? You can check this to deactive all your plug-ins and active one by one, until when the problem is solved.

    Case 1
    You can move your WordPress website to another databse. Export all your pages and post. You can find this option by your general settings. There’s an option with import and export, use the export version and select everything (in the Dutch WordPress version the upper option). Create a new database with a password and update the database user and password with the new one. Go to your general settings and click on import, to upload your pages and post what you download earlier from the old database. You have still active all plug-ins what you use! If it’s works for you, you can remove the old database.

    Case 2
    Download your post and pages (like the same way as here above) and store it on your computer. If you need, you can download your theme, photos and plug-ins to your computer. Default folder is: wp-content/themes/, wp-content/uploads/ and wp-content/plug-ins (only by default installations).

    Remove also your database. Install a new version of WordPress with a clean database. Upload the theme, photos and plug-ins by filezilla to your website. Active everything again (all plug-ins and themes). After that you can import the file (post/pages).

    Hopefully it’s work for you. If you have still problems, please let me know!

    Warning!! Before your change something, please make a back-up of your website and database! I am not responsible for errors or demage.

    Thread Starter andybram

    (@andybram)

    Hi,

    It appears it was a database problem.
    I exported all
    I created a new database
    uploaded and installed a completely fresh wp installation
    Imported all

    This put my site more or less as it was… (just needed widgets)
    Now everything works well.

    Problem not really solved
    but the work around was good.

    Thanks Michael… I didn’t know about the export/import feature… made things a lot easier for me.

    No problem Andy. If your question is resolved, can you set your this topic on resolved?

    Have a good one!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Customize option returns 500 error’ is closed to new replies.