1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Fatal Error: Out of memory

Discussion in 'Troubleshooting and Problems' started by oman, Feb 22, 2014.

  1. oman

    oman Well-Known Member

    Error Info
    ErrorException: Fatal Error: Out of memory (allocated 15728640) (tried to allocate 1966080 bytes) - library/XenForo/Template/Abstract.php(265) : eval()'d code:2592
    Generated By: Unknown Account, Yesterday at 7:15 PM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(65) "http://www.technologyhub.org/wp/wp-content/themes/fauna/style.php"
    ["_GET"] => array(0) {
    ["_POST"] => array(0) {


    Got the above error. Not sure why it is happening considering I don't even have Wordpress installed, and nothing exists at that URL in the error.

    Any idea what actions may need to be taken here?
  2. RoldanLT

    RoldanLT Well-Known Member

    You have Wordpress Related Addon right?
  3. oman

    oman Well-Known Member

    None at all. So I really don't see why this occurs.
  4. RoldanLT

    RoldanLT Well-Known Member

    File health Check /admin.php?tools/file-check/ ?
  5. oman

    oman Well-Known Member


    Those are two files which I know I edited, but aren't related to Wordpress.
    RoldanLT likes this.
  6. Rob

    Rob Well-Known Member

    This has to be a bot or spider crawling and old url. Did you once upon a time use WordPress on this domain?
  7. oman

    oman Well-Known Member

    I think I might have. How does this bring a server error to XenForo though? :)

    I wasn't running any sort of bridge add on, it was more of a test Wordpress site.
  8. Jake B.

    Jake B. Well-Known Member

  9. Rob

    Rob Well-Known Member

    Do you get an error log with every 404?
  10. oman

    oman Well-Known Member

    Yeah, I already deleted it ages back.

    Nope. I just got four of those at one time.
  11. Mike

    Mike XenForo Developer Staff Member

    It's not using a ton of memory -- it's only allocated < 16MB before erroring -- though this is definitely more than I'd expect for a simple 404 page (and I don't think I'd expect another 2MB to be allocated in the template render phase). Unfortunately, it's rather hard to know what's going on specifically. PHP's fatal error messages are often useless and this is somewhere inside a template's compiled code.

    Since it isn't happening consistently (on what should be an identical page), I would suggest that it could indicate that your server was heavily loaded at the time and it was legitimately out of memory (vs PHP simply not being able to allocate it). However, this is more of a stab in the dark.
    Rob and oman like this.
  12. oman

    oman Well-Known Member

    Yeah, it's one of those ones that just came up. Safe to ignore?
  13. Rob

    Rob Well-Known Member

    I certainly would not be ignoring errors like this as its suggests some kind of misconfiguration somewhere or an overloaded server.
    Is it shared hosting? What is your host set up?
  14. oman

    oman Well-Known Member

    Shared hosting with cpanel.

    It is just unusual considering the wordpress directory isn't there and that error happened.

Share This Page