Cannot launch Web Presence Builder: "Unexpected server behavior"

Created:

2016-11-16 12:52:03 UTC

Modified:

2017-08-16 17:28:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot launch Web Presence Builder: "Unexpected server behavior"

Applicable to:

  • Web Presence Builder
  • Plesk 11.x for Windows
  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows
  • Web Presence Builder for Linux
  • Plesk 12.5 for Windows

Symptoms

Cannot open the domain %domain.tld% in Web Presence Builder 11.5 for content editing.

The following error occurs in the GUI:

Unexpected server behavior. For details, see the product's log files.
PHP Notice : Trying to get property of non-object
Stack trace:
#0 /usr/local/sb/include/SB/ORM/SitePage.php(156): Base_SyntaxException::handleError(8, 'Trying to get p...', '/usr/local/sb/i...', 156, Array)

The following error is shown in the log sitebuilder.log ( /usr/local/psa/admin/logs/sitebuilder.log for Plesk).

2013-10-02T13:54:50-04:00    [EMERG]    /sitebuilder/JsonApi/    Base_SyntaxException: PHP Notice : Trying to get property of non-object
file: /usr/local/sb/include/SB/ORM/SitePage.php
line: 156
code: 8 123.123.123.123 https://PLESK115_NODE:8443/sitebuilder/Editor Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
2013-10-02T13:54:50-04:00 [EMERG] /sitebuilder/JsonApi/ Base_SyntaxException: PHP Notice : Trying to get property of non-object
file: /usr/local/sb/include/SB/ORM/SitePage.php
line: 156
code: 8 123.123.123.123 https://PLESK115_NODE:8443/sitebuilder/Editor Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Cause

The site stricture in the database is broken.

Resolution

Restore the site from a snapshot (if one exists).

If a snapshot is missing, delete the site and create it again. A Plesk administrator may remove the broken site on a domain with the Plesk CLI (only by client confirmation). Run the following command for each domain hosted in Plesk:

~# /usr/local/psa/bin/domain --update %domain.tld% -publish-sb-site false

Additional information

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

Cannot apply generated templates to site: "Unexpected server behavior"

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

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

Have more questions? Submit a request
Please sign in to leave a comment.