Home>Support>Problems with Widget classes in namespaces since update to PageBuilder 2

Problems with Widget classes in namespaces since update to PageBuilder 2

By Carsten, 9 years ago. Last reply by Greg Priday, 9 years ago.

This thread is related to “Missing Widget” by “Kai Nicolai”.
I suppose I’m having the same problem here:
When I add a widget to page builder and press “Update” afterwards I get a “Missing widget” error.
Below the “Missing Widget” message PageBuilder displays the full Widget class name (i.e. including namespaces). But all backslashes (that separate the namespaces) have been removed so namespaces and class name were merged into a very long string. Obviously PageBulider cannot find this class name.
I suppose before storing the class name PageBuilder 2 uses some escape function to remove backslashes from the class name.
I consider this a bug – as namespaces are a useful feature.
Could you please fix this?

Thanks in advance,
Carsten

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

  1. 9 years, 7 months ago Carsten

    Note: when I place my widgets in the global namespace everything works fine.

  2. 9 years, 7 months ago Greg Priday
    Hi, I Work Here

    Hi Carsten

    Thanks for bringing up this issue. I’ve added it to our issue tracker. One of our developers will look into this issue today. I’ll keep you posted.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More