Theme panel settings not saving

Posted in: Newspaper
Post count: 5

Hello,

Out of nowhere our theme settings will no longer save this past week. For instance, if I turn off the footer and hit save, the panel will notify me that the save was successful with the checkmark. However, if I refresh the page, the footer is still on — it didn’t save.

What I have done:
– Deactivated all plugins except the TD Composer.
– Reverted to the parent theme as to eliminate any of my child theme additions.
– Verified that all settings are correct in the system status. (input_variables = 5000, execution_time=60, memory limit = 64_
– At one point I was seeing a php error that said I had reached the byte limit for the mysql call, but I increased that amount and haven’t seen the issue since. I see no php errors currently.
– I did notice that the admin-ajax call that you seem to be saving the settings with is returning 0.

Apache/2.4.27 (Amazon) PHP/7.0.21
Wordpress version 4.8.2

Any help would be appreciated.

Zach

  • This topic was modified 8 years by zbowers.
Post count: 20688

Hi,

The admin ajax could be blocked by the server, doe to the multiple requests it makes. Open the browser inspector in the theme panel, and select the console tab
https://www.screencast.com/t/LfjiX2pY34zA
Then check if there are any errors while saving a setting in the theme panel, they will appear in the console. In some cases the admin ajax process is blocked by the server firewall or security settings, causing this issue
https://forum.tagdiv.com/topic/cant-save-theme-options-2/

Thanks

Post count: 5

Okay I checked to see if it was blocked by the server, it’s not. It’s returning 200, success. I have no errors in the console or in my php logs. It continue to say it saves successfully without actually saving.

I even opened all ports with no success. It was working fine until last Wednesday when we first noticed the problem. To my knowledge, nothing changed with our set up.

Post count: 5

I was able to fix the issue..it appeared to be some corruption in the settings that were previously saved…maybe a rogue script in the custom code section. I removed the settings from the database and started fresh…all is good now.

Post count: 15

Hi,

I have the same problem here. I have just installed Paper theme and i tried to modify Politics demo and nothing happens.. All the settings and console tab info are ok but input_variables = 1000 and server provider don’t want to set it on 5000. Is this the problem?

Post count: 15

Ok, I have solved this problem! It was WP Super Cache. When i disaple the cache it starts to work again.

But what about input_variables? Does this cause any freezing?

Post count: 22421

Hello,

Usually such issues occur dues to either plugin conflicts or custom code/ modification
Try to double check your scripts. Please provide more detials to what input variables you are referring to.

Thanks

Post count: 15

Yes, the problem was WP Super Cache. I have no custom code, yet.

Newspaper-> System status-> php.ini configuration-> max_input_vars-> 1000 (the max_input_vars should be bigger than 2000, otherwise it can cause incomplete saves in the menu panel in WordPress.)

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.