Widgets not saving (again)
-
In the admin section for allocating widgets to sidebars, when i drag & drop a widget to a sidebar (or footer) and i go to another section and come back or refresh the page, the widget is not saved. The widget do not appear in the public site either.
This happens for a specific site but not for another one with the same WP version and theme. So it seems this is not something related to the navigator (Safari, but i checked with another one also).
I tried changing the theme (back to default for example) but this does not change the widget behavior.
However, at this point, some widgets were in the deactivated widgets list. I tried to drag&drop some of these to a sidebar and then, they were saved correctly. Unfortunately, i cannot put some widget that i choose directly or indirectly (via some sidebar) in the deactivated widgets list. So this is not completely a work around.
I tried removing all plugins, no change.
I looked on forums and saw that it could happen when registering sidebars id which are not lowercase or different from sidebars name. Checked that it was not the case for the theme. I also tried to change some of those things directly in the code. No change.
I tried “resetting the widgets” using some plugin. No change.
I looked in the database. The “sidebars_widgets” element reflects correctly the situation on the widget section. I tried updating manually the “sidebars_widget” with the precise syntax to move a widget to a sidebar. This was not reflected in the widget section.
I’m a bit lost now. Does someone have another idea?
Thanks,
Pascal
-
It may be a problem specific to your theme. Which theme are you using?
Can you replicate the problem with Twenty Thirteen plugin?
I am using the theme ePix (http://themeforest.net/item/epix-responsive-fullscreen-photography-theme/5783556?ref=prothost).
I cannot exclude that this comes from the theme but i have another site on another server with the same theme for which there is no problem, and changing to Twenty Thirteen or other basic theme replicates the problem. I even tried completely removing the theme from the installation.
Maybe i can try to rebuild a site from scratch on the same server.
Please contact Theme Forest for support as we do not support themes from commercial sources:
http://codex.wordpress.org/Forum_Welcome#Commercial_ProductsYes, i can do that also but as i mentioned, this is not obviously theme-related. There are a lot of other similar problems on this forum or other ones (just try a search with ‘widgets not saving’). This kind of problem is recurring since years and it seems this is not seriously addressed by the WordPress support.
I read most of the similar threads and a few of them are resolved by theme-related problems (sidebar id not lowercase or not matching the sidebar name for most of them). I checked that this is not the case for my current theme.
I just reinstalled a fresh WP 3.7.1 on the same server but in another subfolder. The same issue is happening. This is with default theme (Twenty Thirteen). No other theme or plugin installed. So this is definitely not theme-related.
Maybe this could be related to access rights?
I just reinstalled a fresh WP 3.7.1 on the same server but in another subfolder. The same issue is happening.
URL of this install?
I tried to set WP_DEBUG to true in wp-config.php.
When i try to save a widget, for example a text widget, i receive the following notice :
Notice: Undefined index: text-3 in (…)/wp2/wp-admin/includes/ajax-actions.php on line 1640
Can this give a clue?
The URL is http://www.riposte-cte.collectifs.net/wp2/
It looks OK with widgets (at footer). Try setting and saving another widget at the sidebar and see if that saves.
Yes, there were some widgets already defined in the footer. These appear normally.
When I try setting another widget from the available widgets (text, calendar, another meta, …) in the footer or in the sidebar, it is not saved (it produces the notice if WP_DEBUG is true).
If i remove a widget that was already defined in the footer, this is saved. If i put it in the deactivated widgets list, it can be put back in the footer and saved. However, if it is removed completely and i try to put back another widget of the same kind, it cannot be saved.
It seems that it is not possible to create new widget ids.
Can you try this plugin?
Sorry, i can’t see what plugin you’re talking about.
Sorry. I need to find it.
On the widgets page scroll up to screen options and enable accessibility mode. Does this work?
What browser are you using. When you sign in start running the Java Script console and then try the widgets.
Add this plugin http://wordpress.org/plugins/use-google-libraries/
The topic ‘Widgets not saving (again)’ is closed to new replies.