Symptoms

Cannot apply generated templates to a site in Parallels Presence Builder 11.5.6. The following error is shown in GUI:

Unexpected server behavior. For details, see the product's log files.
Please contact the server administrator.

The following records appear in the log:

sitebuilder.log
--->8---
2013-09-14T00:58:25-04:00 [EMERG] /sitebuilder/JsonApi/ SB_Widget_Exception: Widget type 'hidden' is not supported.
file: /usr/local/sb/include/SB/WidgetBroker.php
line: 23
---8<--- 

Cause

The problem is caused by hidden widget 'search' configured in Parallels Presence Builder 11.5.6:

~# cat /usr/local/sb/config | grep hidden_widgets
hidden_widgets = search

Resolution

  1. delete 'search' from 'hidden_widgets';
  2. add 'search' into section 'restricted_widgets' instead. This option is missing by default, but you may safely create it in the configuration file.

Developers plan to fix the issue is actual code of Parallels Presence Builder since version 11.5.7. Bugs are 142937, 142938.

Additional information

[Troubleshooting] Cannot publish site with Parallels Web Presence Builder: "Unexpected server behavior"

Cannot launch Parallels Presence Builder: "Unexpected server behavior"

Module "Banner" cannot be added to site: "Unexpected server behavior"

Parallels Web Presence Builder: cannot publish a site: "Unexpected server behavior"

Internal content

The same error for Web Presence Builder 11.0:

Missing widgets cause site cannot be opened in Web Presence Builder: "Unexpected server behavior"