1

After doing an update to 4.7, all widgets are missing. I queried the database for any records wp_options like '%widgets%' and all is the same as the backup. What can cause this or how can the widgets be restored?

1
  • Try searching wp_options for option name like "widget" (singular): SELECT * FROM wp_options WHERE option_name LIKE '%widget%' . Jan 10, 2017 at 14:42

3 Answers 3

1

I had to restore sidear_widgets in wp_options and any other entries with option_name including 'widget' from a database backup to resolve. Something must have go wrong during the update and all widget settings were lost.

0

Your update probably went wrong.

Start again from the update page, or upload the missing/incomplete files by ftp.

If you want to verify manually, you will find the related files in wp-includes folder widgets.php and widgets folder with classes for core widgets.

Hope it works after.

4
  • You mean try the 'Reinstall Now' button on the update page? Jan 10, 2017 at 14:03
  • Yes, "reinstall now" button, or check manually before but it could be long
    – Benoti
    Jan 10, 2017 at 14:04
  • Same after reinstall :( It seems only widgets are missing, would those types of things be affected by files? Jan 10, 2017 at 14:10
  • Did you try to enable debug mode to see if some of your widget works with the last version. Some plugin throw warning about the method that is deprecated.
    – Benoti
    Jan 10, 2017 at 14:12
0

Next step would be to look at your PHP error log and see if there are any clues in there. You may have an incompatibility issue. Make sure all plugins are up to date as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.