You cannot copy content of this page

Fatal error allowed memory size of bytes exhausted (tried to allocate bytes) wordpress?

QuestionsCategory: CMS QnaFatal error allowed memory size of bytes exhausted (tried to allocate bytes) wordpress?
Anonymous Staff asked 2 years ago

Hello,

Anyone knows How to Fix Fatal error allowed memory size of bytes exhausted (tried to allocate bytes) wordpress?

1 Answers
admin Staff answered 2 years ago

Fix Fatal error allowed memory size of bytes exhausted (tried to allocate bytes) wordpress by below STEPS

  • Go to  FTP client or file manager in your web hosting control panel.
  • Edit the wp-config.php file
  • Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’ 1 define( ’WP_MEMORY_LIMIT’, ’256M’ );
  • This code tells WordPress to increase the PHP memory limit to 256MB.
  • Save the wp-config.php file
  • You can now visit your WordPress site and memory exhausted error should disappear now.