Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi
After I have updated Page Builder to v. 2.5.0 I have problems with widgets, created with a namespace in PHP code.
It says the Widgets is missing:
Missing Widget MTTSiteoriginWidgets\Widgets\MTTBox\MTTBox
The problem only appears after saving a page.
I think it is because it sanitize the widget name? Because every time I save the page, it will add an extra ” before other backslashes. So after saving three times it looks like this:
Missing Widget MTTSiteoriginWidgets\\Widgets\\MTTBox\\MTTBox
It is my own widgets, so of course I could just remove the namespace, but then I need to rebuild all sites with all pages, to use the widgets without namespace.
the two code blocks above should look like this:
Missing Widget
MTTSiteoriginWidgets\\Widgets\\MTTBox\\MTTBox
and
Missing Widget
MTTSiteoriginWidgets\\\\Widgets\\\\MTTBox\\\\MTTBox
Hi Mschadegg,
Just as a heads up – we’re definitely working on fixing this. We’ll hopefully have this fixed in the next update but if things don’t go according to plan, this will definitely be fixed in the update after that. Very sorry about this!