0

My site is http://khuyenmaitonghop.com/ - running on Genesis, Magazine Pro Theme

Just now I enter some PHP tag to a text widget. After that, all of my widget at footer disappear. I freaked out and disabled all the plugins. No use.

I put the theme back to Twenty Fourteen, the footer widget appear as usual.

I turned on the debug but nothing useful there ..

I do not know what to do? Please help me. If I need to provide any info, please let me know. I am newbie here and I may not be able to describe the problem so well.

Thank you so muchh,

Tuan

phanatuan
  • 495
  • 1
  • 5
  • 14

1 Answers1

0

You can deactivate all plugins in MySQL like this:

UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';

The wp_options table will also be the place to look for that erroneous PHP code. The following query will bring up the entries containing the configuration for each widget (one entry per widget):

SELECT * FROM wp_options WHERE option_name LIKE 'widget_%';

Then, edit the option_value in the row which corresponds to the widget that was causing the problems.

entreprenerds
  • 957
  • 10
  • 20