I was trying to learn how to modify Spirit using your

I was trying to learn how to modify Spirit using your tutorial. I got a fatal error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 302535 bytes) in /home/pgrd/public_html/wp-content/themes/upfront/library/class_upfront_codec.php on line 192

Now I can't get into the site ...

Help?

  • Adam Czajczyk

    Hello Sj,

    I hope you're well today and thank you for your question!

    It seems that WordPress tried to use more PHP memory than allowed. This is quite a common issue because WordPress is set by default to be allowed to use no more than 64M and this is often too little.

    Please access your server via FTP and add following line to your "wp-config.php" file:

    define('WP_MEMORY_LIMIT', '256M');

    Put this line above the "/* That's all, stop editing... " line.

    Let me know if this helped!
    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.