• Resolved n1fdadmin

    (@n1fdadmin)


    I just installed ELM Pro on our website here and I am using it to track down some errors that we are seeing. I also notice some messages from the ELM plugin in our logs here and I am trying to understand what they mean. Here are the messages –

    [ELM_context_71781]{“requestUri”:”\/?wordfence_syncAttackData=1607694745.0037″,”httpHost”:”www.n1fd.org”,”httpReferer”:”https:\/\/www.n1fd.org\/?wordfence_syncAttackData=1607694745.0037″,”httpMethod”:”POST”,”isSSL”:true,”executionTime”:2.6930439472198486,”memoryUsage”:89096552,”peakMemoryUsage”:89173648,”phpServerApiName”:”cgi-fcgi”,”httpResponseCode”:200,”currentFilterStack”:[“plugins_loaded”],”fileName”:”…/n1fd.org\/wp-content\/plugins\/wordpress-seo-premium\/wp-seo-main.php”,”lineNumber”:490,”stackTrace”:[{“file”:”…/n1fd.org\/wp-content\/plugins\/wordpress-seo-premium\/wp-seo-main.php”,”line”:490,”call”:”{anonymous}()”},{“file”:”…/n1fd.org\/wp-includes\/class-wp-hook.php”,”line”:287,”call”:”load_yoast_notifications(‘[11-Dec-2020 13:52:28 UTC] [ELM_context_6277]{“requestUri”:”\/?wordfence_syncAttackData=1607694742.6114″,”httpHost”:”www.n1fd.org”,”httpReferer”:”https:\/\/www.n1fd.org\/?wordfence_syncAttackData=1607694742.6114″,”httpMethod”:”POST”,”isSSL”:true,”executionTime”:3.196355104446411,”memoryUsage”:50545360,”peakMemoryUsage”:54012848,”phpServerApiName”:”cgi-fcgi”,”httpResponseCode”:500,”currentFilterStack”:[],”fileName”:”…/n1fd.org\/wp-content\/plugins\/wordfence\/wordfence.php”,”lineNumber”:94,”parentEntryPosition”:”previous”}[/ELM_context_6277]

    Last seen: 2020-12-11 08:52:28 America/New_York
    Total events: 1

    =====

    [ELM_context_63746]{“requestUri”:”\/?mailpoet_router&endpoint=cron_daemon&action=run&data=eyJ0b2tlbiI6InZ0cDJyIn0″,”httpHost”:”www.n1fd.org”,”httpReferer”:”https:\/\/www.n1fd.org\/?mailpoet_router&endpoint=cron_daemon&action=run&data=eyJ0b2tlbiI6InZ0cDJyIn0″,”httpMethod”:”POST”,”isSSL”:true,”executionTime”:3.155129909515381,”memoryUs[11-Dec-2020 13:52:28 UTC] Error reading Wordfence Firewall config data, configuration file could be corrupted or inaccessible. Path: /wp-content/wflogs/config-transient.php

    Last seen: 2020-12-11 08:52:28 America/New_York
    Total events: 1

    ====

    We are using the Wordfence Security plugin here to protect our site from attacks.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    It looks like those messages are from the Pro version of the plugin. When an error happens, the Pro version logs various details about the context of that error, like the current URL, referrer, memory usage, stack trace, and so on. It formats this data as a JSON document and writes it immediately before or after the error itself (due to technical reasons, the order varies depending on the type of the error). Then, when you go to the WordPress dashboard, the plugin formats that information in a more readable way and displays it below each error message.

    The free version does not log any additional information about errors, but it can display some of the existing contextual data if it is available.

    Thread Starter n1fdadmin

    (@n1fdadmin)

    I have the Pro version of the plugin. I have been seeing errors from other plugins (but nothing related to Wordfence) except for these errors. Do they indicate a separate set of issues with Wordfence that I need to report to that vendor or are they just part of normal ELM pro version operation?

    Plugin Author Janis Elsts

    (@whiteshadow)

    Normally, these ELM entries should only be logged when something triggers a notice, warning, or error. So there was definitely some kind of a problem, but I cannot guarantee that it was related to WordFence.

    Looking at the data more closely, it appears that the messages are partially overlapping, possibly due to multiple processes trying to write to the same log file at the same time. However, I think that this one is a real error and not something related to ELM:

    [11-Dec-2020 13:52:28 UTC] Error reading Wordfence Firewall config data, configuration file could be corrupted or inaccessible. Path: /wp-content/wflogs/config-transient.php

    Thread Starter n1fdadmin

    (@n1fdadmin)

    Thank you Janis. I’ve rewritten the Wordfence firewall settings to our DB. I’ll watch to see if the error happens again. Thank you very much for taking the time to look at this – I know that this is beyond the scope of what you plugin does.

    Thread Starter n1fdadmin

    (@n1fdadmin)

    This one is resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ELM Messages in PHP Log’ is closed to new replies.