Uncaught TypeError: explode() | WordPress.org

[ad_1]

Update: I found the following weird thing in the plugin settings.

No idea how that got there (maybe a conversion issue after an upgrade?) but after clearing the field, the fatal error has gone…

Please make sure to sanitize user input 🙂

Hey @ravanh,

thanks for your report!

It seems the auto-migration wasn’t finished on your installation, but I’m glad you found one of two ways to handle that.

The other, more “official” way would have been using Simply Static -> Settings -> Utilities-> Migrate Settings.

We do escape all input on saving settings, but we switched the field type of that particular setting from a nested array of objects to just an array.

We also convert it on migration, but if that one doesn’t trigger, we don’t have a way to touch the setting otherwise 🙂

Cheers,
Patrick

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer