• Resolved benjcampbell

    (@benjcampbell)


    Hey guys,

    Sometime after I installed the 3.05 version of the free plugin, my site was struck down with a bunch of fatal errors anywhere the function is_user_logged_in(); was called. I tracked it down via the erorr_log, see below screenshot for the stack trace (apologies for the screenshot, I was trying to fix it ASAP as it was on a live site:

    View post on imgur.com

    The solution to this error was to increase the PHP Memory size in my wp-config, but that’s not a great workaround and I am no longer sure of the sustainability of using the plugin.

    Let me know your thoughts – I have seen that there have been various users with Fatal Erros within the past few days.

    Thanks, have a great day,

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi Ben,

    Thanks for the report! The screenshot shows something slightly different from your description. Memory ran out, not when WP-O was running; but then WP launched a new process to display the error related to that, and in that new process, there’s a different environment in which the is_user_logged_in() function is not available (which WP-O tries to use). So, we will fix that defect in our next release, but it’s just cosmetic – at that point at which the code is running, it’s just trying to show you error information, it’s not the root error due to lack of memory itself.

    David

    Plugin Author David Anderson

    (@davidanderson)

    BTW, the screenshot shows the site was previously configured to use a maximum of 40MB of memory, which is much too small for a modern WP site – you’d expect lots of “out of memory” errors at that level once you start having plugins. That used to be the default around a decade ago.

    Thread Starter benjcampbell

    (@benjcampbell)

    Hey David,

    Thanks for your extremely rapid response! That all makes sense. I appreciate the little context on the memory amount, which has given relief to the some concern about how much was being used by the site (I read it as ~400Mb, so I think I need to put my head back into some books!).

    Thanks for your time!

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error on 3.05’ is closed to new replies.