[HOTFIX] Site cannot be opened in wizard with error: "Message: Unknown method with name 'isDinamicCode'; Code: 0"

Created:

2016-11-16 12:40:37 UTC

Modified:

2017-04-24 12:15:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[HOTFIX] Site cannot be opened in wizard with error: "Message: Unknown method with name 'isDinamicCode'; Code: 0"

Applicable to:

  • Plesk Sitebuilder 4.5 for Linux

Symptoms

The following message occurs when try to open a site in Sitebuilder Wizard ( Sites > %site name% > Open Site In Wizard ):

Internal Sitebuilder error.
File: /opt/sitebuilder/include/Base/ORM/Object.php; Line: 105
Message: Unknown method with name 'isDinamicCode'; Code: 0

Cause

Script /usr/local/sitebuilder/include/Modules/Script.php ( /opt/sitebuilder/include/Modules/Script.php for Debian/Ubuntu) is outdated. The issue affects all sites that use Sitebuilder module Script .

Resolution

Valid Script.php for Parallels Plesk Sitebuilder 4.5.0 is attachment.

To install it: extract the script from the archive attached and replace existent file /usr/local/sitebuilder/include/Modules/Script.php ( /opt/sitebuilder/include/Modules/Script.php for Debian/Ubuntu). Remember correcting owner and permissions:

~# chown root:root /usr/local/sitebuilder/include/Modules/Script.php
~# chmod 644 /usr/local/sitebuilder/include/Modules/Script.php

Remember saving the old file Script.php (just in case).

Remember re-installing Sitebuilder updates. Login to Parallels Plesk Sitebuilder as admin and change to Server > Autoupdate . Click Roll Back All Updates and wait while the updates are removing. Then click Install to install updates back.

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