Home>Support>So Widgets Bundle Causing PHP Errors

So Widgets Bundle Causing PHP Errors

Hi – The SO Widget Bundle on my site is throwing up PHP errors and causing problems when editing pages. Everything is up to date on the site, and PHP is also up to date. This has been going on for a while.

These are the kind of errors I’m seeing when I try to edit a page:

Warning Undefined array key “marker_positions” wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php:412
Plugin: so-widgets-bundle

Warning Undefined array key “custom_map_styles” wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php:412 Plugin: so-widgets-bundle

I’ve got 13 errors at the moment. I’m using Query Monitor to track what’s going wrong and it seems to be the widgets Bundle.

Any recommendations about how to fix this?

My Versions
Wordpress – 6.8.2
PHP – 8.3
SO Widgets Bundle – 1.69.2
SO Page Builder – 2.33.1

Karen

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 hours, 45 minutes ago Andrew Misplon
    Hi, I Work Here

    Thanks for posting your question, Karen.

    To clarify what you’re seeing in Query Monitor:
    – **Notices**: Minor issues, like using a variable that’s not set. They don’t break anything but flag potential code improvements.
    – **Warnings**: Not errors, just a warning to the developer such as non-existent array keys (e.g., `marker_positions` or `custom_map_styles` in your case). If the widget in question is functioning normally, the issue isn’t connected to functionality in such a way as to make it noticeable.
    – **Errors**: Critical problems that stop code from running, like fatal errors. You’re seeing warnings, not errors, which is why your site still works.

    Let’s investigate further:
    1. Open your browser’s console while editing a page in WordPress:
    – On Chrome: Right-click the page, select “Inspect,” then click the “Console” tab (https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis).
    – On Firefox: Right-click, select “Inspect,” then go to “Console.”
    2. Look for any errors in **red text**. These might give more details about what’s going wrong with the Google Maps Widget.
    3. Reply with any red-text errors or messages you see, and we’ll go from there. If you’d like send screenshots, please do so by uploading to any cloud site like Dropbox or similar and sharing the link here.

    Thanks

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More