Plesk: Failed to reset cache for the instance #1: Fatal error: Allowed memory size

Modified on Wed, 10 Apr at 3:22 PM

When using WordPress toolkit, you may get the following error in your e-mail:


Updates were not installed for the following items:

1. Website "Website name" (https://website.com): Failed to reset cache for the instance #1: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vhosts/website.com/httpdocs/wp-includes/PHPMailer/PHPMailer.php on line 2630
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vhosts/website.com/httpdocs/wp-includes/pomo/streams.php on line 189


In Plesk, there are two methods to run PHP: Plesk PHP and CloudLinux PHP. The last PHP method is the way we use it at Yourwebhoster.eu, as it provides great flexibility and more PHP versions. WordPress toolkit uses the Plesk PHP method, which may explain why you may get errors not matching with your website. Plesk is working on implementing CloudLinux PHP in WordPress toolkit.


For some hosting accounts, you can resolve this by yourself:


If you do not see the PHP option and you are a reseller or own the server, please enable the PHP version and handler management and Hosting performance settings management (click Show more available permissions) setting in the related subscription permissions. If you are not a reseller and do not own the server, please contact support.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article