WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Exceeding Memory Limit While Testing out theme (3 posts)

  1. Jacob Martella
    Member
    Posted 2 years ago #

    So I'm trying to create my own theme. It's the first time I'm doing this, and I'm fairly new to code, but I'm picking up on it pretty quick.

    Anyway, I downloaded XAMPP to test the theme on the localhost; however, when I upload the theme to the test site and activate it, I get this:

    "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampp\htdocs\wordpress\wp-includes\plugin.php on line 69"

    I've tried increasing the memory limit and all, but nothing works.

    Any help before it drives me insane?

  2. SNSD Photo
    Member
    Posted 2 years ago #

    1. does the theme work properly on XAMPP ?
    2. how much the memory limit you set on your site ?
    3. if it's below 128MB, then change to 128MB.
    4. But if it's already 128MB, your site(host) may limit the memory limit under 128MB even you configure as 128MB.
    5. your site eat too much memory (could be theme or plugin)

  3. Jacob Martella
    Member
    Posted 2 years ago #

    This is the first theme I've ever written and I'm learning php on the go (though my understanding has greatly improved lately.That being said, I really rushed through writing the code and probably missed something very important. I'm currently rewriting the entire code more thoroughly. I'll update as soon as that is done with.

Topic Closed

This topic has been closed to new replies.

About this Topic