Tagged: Fatal Error, W3 Total Cache
- AuthorPosts
- March 15, 2021 at 6:08 am #3496248th HighlandersGuest
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 319488 bytes) in /home/s2dp5yjzt650/public_html/wp-includes/class.wp-scripts.php on line 405
This error occurs when a user who IS NOT AAN ADMINISTRATOR attempts to create a new post. The error does not occur when this plugin in deactivated.
March 15, 2021 at 6:08 am #34982Marko VasiljevicKeymasterHello
Thank you for your inquiry and I am happy to assist you with this.
This means that the memory_limit of 128M is being exhausted. There is no particular reason why this happens with the role other than Administrator.
What you should do is to increase the memory limit
To increase the PHP memory limit setting, edit your PHP.ini file. Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini.memory_limit = 256M
Alternatively, you can edit your .htaccess file (Not recommended see: Apache Performance: Disable .htaccess)php_value memory_limit 256M
If you don’t have access to these files or lack the experience to make this change, you can contact your web host and ask them to increase your PHP memory limit. - AuthorPosts
- The topic ‘Fatal error’ is closed to new replies.