Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Oct 15, 2025, 01:31 AM

Title: The Apache configs cannot be created on the server with Plesk: Template_
Post by: Suhitha on Oct 15, 2025, 01:31 AM
Question: The Apache configs cannot be created on the server with Plesk: Template_Exception: Call to a member function configuration() on null


Applicable to:

Plesk for Linux


Symptoms


New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file =/opt/psa/admin/conf/templates/default/nginxDomainVhostIpDefault.php, error = Template_Exception: Call to a member function configuration() on null


ERR [panel] Call to a member function configuration() on null
ERR [panel] New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file =/opt/psa/admin/conf/templates/default/nginxDomainVhostIpDefault.php, error = Template_Exception: Call to a member function configuration() on null
file: /opt/psa/admin/plib/Template/Processor.php
line: 28
code: 0
Previous error: Error: Call to a member function configuration() on null
file: /opt/psa/admin/plib/Template/Variable/Server/WebServer.php
line: 172


Cause

The cause of the issue is not clear.


Resolution

1.Connect to the server via SSH

2.Reinstall Plesk microupdates:

# plesk installer update --repatch