Domain reconfiguration fails with error: Class Template_Writer_Apache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods

Created:

2016-11-16 12:55:19 UTC

Modified:

2017-04-24 12:07:32 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Domain reconfiguration fails with error: Class Template_Writer_Apache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods

Applicable to:

  • Plesk 10.4 for Linux
  • Plesk 11.0 for Linux
  • Plesk

Symptoms

The following error appears while reconfiguring domain:

 /usr/local/psa/admin/bin/httpdmng --reconfigure-domain domain.tld

Fatal error: Class Template_Writer_Apache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Template_Writer_Interface::getServiceNode) in /opt/psa/admin/plib/Template/Writer/Apache.php on line 81
PHP Warning: Releasing semaphore 1 in request cleanup
Line: 0
File: Unknown
Stack Trace:
#0 Smb_Exception_Syntax::handleError(2, Releasing semaphore 1 in request cleanup, Unknown, 0, Array ([class] => Template_Writer_Apache,[file] => Template/Writer/Apache.php))

Cause

Plesk was not upgraded completely.

Resolution

The problem can be fixed by running bootstrapper repair command:

# /usr/local/psa/bootstrapper/pp10.13.4-bootstrapper/bootstrapper.sh repair

Try to reinstall microupdates using the command given below:

# /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
Have more questions? Submit a request
Please sign in to leave a comment.