Cannot add widgets to new sidebars

Posted in: Newspaper
Post count: 63

After upgrading to 6.7 I am not able to add widgets to any new sidebars. I’ve tested adding new sidebars from post template, categories and even templates. They do get created. But every time I add a widget to a newly created sidebar, it does not seem to save the widget content. A reload / refresh shows an empty sidebar.

I’ve tried resetting and disabling all plugins, but that has no effect whatsoever.

Post count: 63

I’ve tested another upgrade on a different backend and samme error after update (with no update to VC.

I suspect it’s related to the visual composer changes you’ve made to the code in 6.7:

fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)

Post count: 63

Reverting back to 6.6.5 and widgets can once again be added to newly created sidebars. Definitely seems like a 6.7 bug.

Post count: 63

I’d really appreciate a fix / solution other than downgrading.

Post count: 22421

Hello,
We have no reports of such bug and we all here have newspaper 6.7 on our testing platforms but we did not encounter this issue. Nor do we have reports form other users about this. Please try to increase your system status parameters like so: https://forum.tagdiv.com/system-status-parameters-guide/ and make sure you do not use any special characters in the widget section as wp also strips sidebars if any characters are detected (symbols or language specific characters)
Try it out and let us know if you still have issues with this.
Thank you!

Post count: 63

All parameters are fine. I’m able to reproduce the bug on 3 different installations. 100 % sure the error is related to the 6.7 update. Disabled every single plugin and even did a clean WP install with no plugins to be absolutely sure.

Tested on:

Apache 2.2 + mysql 5.5 + php 5.3
Apache 2.4 + mysql 5.6 + php 5.5
Apache 2.4 + MariaDB 10.x + php 7.0.4

On every setup new sidebar content will not be saved to a sidebar created after the 6.7 update.

  • This reply was modified 10 years by Phonetic.
Post count: 63

Try this: With 6.7 update running. Create a new sidebar. Switch to Widgets in WP Admin, Add a widget to the new sidebar and click save. Then reload the page. Widgets in the new side are not displayed / missing.

Post count: 63

I’ve finally found the root cause of the missing content. External / custom caching.

Forced every cache to null and it works.

Still pretty strange, but I’m sorry for the inconvenience.

Free beers on me 🙂

  • This reply was modified 10 years by Phonetic.
  • This reply was modified 10 years by Phonetic.
  • This reply was modified 10 years by Phonetic.
Post count: 63

I brought out the beer a bit too soon. The error / bug is still there. Running out if ideas 🙁

Post count: 63

Did some further testing. Using danish letters in the sidebar title will provoke the “bug”. Also sidebar names using : and – will do the same.

Post count: 22421

Hello,
The “special” characters I mentioned above is a well known wp issue.
I know your own language specific characters do not seem like “special characters” but unfortunately this is the case with wp. Anything other than the standard letters and numbers form the English alphabet will cause issues in a few places.
Thank you!

Post count: 2

Hello! Ihave the same problem with newly created sidebars – can’t save added widgets. Is there any solution?

Post count: 22421

Hi,
Please read the above conversation on ‘special’ characters and the system status parameters and try the solutions mentioned here.
Another thing you can try is to disable all plugins except visual composer, clear cache and try your sidebars again to rule out a plugin conflict.
Let us know if you still cannot get them to display properly.
Thank you!

Post count: 2

Thank you! It helped when i wrote sidebar’s names in english.

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