tguarino
Forum Replies Created
-
Forum: Plugins
In reply to: [Visual Form Builder] Required Fields IgnoredWe have recaptcha, the automatic one that appears on the bottom right of the window, it does not use the “click here” feature. It doesn’t matter if it’s spam or not, the issue still persisted.
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingYes, when
WP_DEBUG_LOG
is enabled, everything works as expected. The only problem is that I don’t see a way to limit the size of the log, and I can’t have 1000+ sites running amok with massive log files.Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingAh interesting, so the error will trigger when someone loads the page, but will not log or email until another page is loaded or reloaded? Weird, but at least it’s explainable.
This is what the widget looks like when
WP_DEBUG_LOG
istrue
This is what it looks like when it is
false
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingWP Engine recommended this plugin, are there incompatibilities?
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingand at that, nothing is sent or logged until I reload the bashboard with the widget
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingHowever, you do need to enable WP_DEBUG (but not necessarily WP_DEBUG_LOG) if you want to log notices, deprecation messages and other minor stuff. If WP_DEBUG is disabled WordPress will automatically change error logging settings to log only warnings and fatal errors.
In order for the email feature to work at all, I need to enable WP_DEBUG and WP_DEBUG_LOG. This also alters the widget display slightly, not in a bad way, it actually makes it easier to read and more defined.
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatinghere’s from the log
[14-Aug-2019 15:08:54 UTC] PHP Fatal error:[14-Aug-2019 15:07:51 UTC] ELM: Preparing new log entry notification about entries logged since 1970-01-01T00:00:00+00:00
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingIt looks like it’s running crons at the right interval, but is timestamping two as the same time
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingOne more thing… could there be any problems due timezone configuration?
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingAlso, it’s set right now to check and email every 2 minutes. I noticed a discrepancy…
[Wed Aug 14 13:52:40.387602 2019] [php7:notice] [pid 31729] [client 104.196.241.26:47968] ELM: Exiting because there is no content for a notification
[Wed Aug 14 13:52:40.376561 2019] [php7:notice] [pid 31729] [client 104.196.241.26:47968] ELM: Email cronjob started
[Wed Aug 14 13:48:29.341854 2019] [php7:error] [pid 19138] [client 24.246.120.106:45726] PHP Fatal error:
[Wed Aug 14 13:48:24.907082 2019] [php7:notice] [pid 11720] [client 104.196.241.26:45638] ELM: Exiting because there is no content for a notification,
[Wed Aug 14 13:48:24.896930 2019] [php7:notice] [pid 11720] [client 104.196.241.26:45638] ELM: Email cronjob started,
It ran a check at 1:48 and found nothing. By the settings, it should run again at 1:50. Another error was triggered at 1:48. It didn’t check again until 1:52 and didn’t see the error from 4 minutes prior.
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingWith the new version, this is still happening:
[Wed Aug 14 13:42:20.324370 2019] [php7:notice] [pid 21495] [client 104.196.241.26:41210] ELM: Exiting because there is no content for a notification, referer: https://minimallyinstg.wpengine.com/wp-cron.php?doing_wp_cron=1565790139.7297461032867431640625
[Wed Aug 14 13:42:20.324322 2019] [php7:notice] [pid 21495] [client 104.196.241.26:41210] ELM: There are no matching entries in that time interval., referer: https://minimallyinstg.wpengine.com/wp-cron.php?doing_wp_cron=1565790139.7297461032867431640625
[Wed Aug 14 13:42:20.321064 2019] [php7:notice] [pid 21495] [client 104.196.241.26:41210] ELM: Preparing new log entry notification about entries logged since 1970-01-01T00:00:00+00:00, referer: https://minimallyinstg.wpengine.com/wp-cron.php?doing_wp_cron=1565790139.7297461032867431640625
[Wed Aug 14 13:42:20.320774 2019] [php7:notice] [pid 21495] [client 104.196.241.26:41210] ELM: Lock acquired, referer: https://minimallyinstg.wpengine.com/wp-cron.php?doing_wp_cron=1565790139.7297461032867431640625
[Wed Aug 14 13:42:20.320146 2019] [php7:notice] [pid 21495] [client 104.196.241.26:41210] ELM: Email cronjob started, referer: https://minimallyinstg.wpengine.com/wp-cron.php?doing_wp_cron=1565790139.7297461032867431640625
[Wed Aug 14 13:40:00.879091 2019] [php7:error] [pid 2784] [client 24.246.120.106:39822] PHP Fatal error:
with, as stated, no email generated or sent.
——–
Maybe it’s something in the way that the timers work? What’s the exact functionality of the “How often to check the log for new messages” and “How often to send email” settings?
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingYes they are from the web server log, and they did appear in the PHP error log as well. Since we manage so many sites, I’m only really concerned about errors.
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingOn another test, I triggered an error at 14:47:13
then the following:[Mon Aug 12 14:48:47.374245 2019] [php7:notice] [pid 21167] [client 104.196.241.26:15234] ELM: Email cronjob started
[Mon Aug 12 14:48:47.374839 2019] [php7:notice] [pid 21167] [client 104.196.241.26:15234] ELM: Lock acquired
[Mon Aug 12 14:48:47.375113 2019] [php7:notice] [pid 21167] [client 104.196.241.26:15234] ELM: Preparing new log entry notification about entries logged since 2019-08-12T14:48:47+00:00
[Mon Aug 12 14:48:47.379357 2019] [php7:notice] [pid 21167] [client 104.196.241.26:15234] ELM: There are no matching entries in that time interval
[Mon Aug 12 14:48:47.379406 2019] [php7:notice] [pid 21167] [client 104.196.241.26:15234] ELM: Editing because there is no content for a notification
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingHi, so not only did that work, but the email was sent as well. Do I need to have the wp debug log enabled in order for your plugin to work?
Forum: Plugins
In reply to: [Error Log Monitor] emails not generatingYes, I was actually triggering errors intentionally to try to get it to work. I tried it with ‘error only’ filter and with all of them. Both time settings were set to 2 minutes for testing purposes. Prior to that they had been at 15. I don’t believe there to be any other plugins like that. DISABLE_WP_CRON is set to false, I don’t believe there are any other cron issues.
We manage over 1,000 sites. Of those I only ever received 1 email, but there are plenty more having errors.