Backup restore fails: Call to a member function write() on null

Created:

2016-11-16 13:16:20 UTC

Modified:

2017-04-24 11:30:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup restore fails: Call to a member function write() on null

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to restore a backup with the following error:

Warning: Restore domain "example.com"
Internal server error:

ERROR: Call to a member function write() on null (Apache.php:707)

Cause

Bug #PPPM-4154 . It is fixed in Plesk Onyx.

Resolution

Upgrade to the latest Plesk version .

If upgrade is not possible:

  1. Download the custom fix and unzip it.

  2. Backup the original file /opt/psa/admin/plib/backup/Serializer/WebSettings.php .

  3. Place unzipped WebSettings.php file into the following directory:

    /opt/psa/admin/plib/backup/Serializer/
  4. Restore backup.

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