[wp-trac] [WordPress Trac] #51196: PHP warning at every pageload form cron
WordPress Trac
noreply at wordpress.org
Mon Aug 31 09:30:47 UTC 2020
#51196: PHP warning at every pageload form cron
--------------------------+------------------------------
Reporter: opajaap | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses: performance
--------------------------+------------------------------
Comment (by opajaap):
According to @serge-wp who originally reported this to me, the problem
still exists when all plugins are disabled. I supplied him with the
suggested fix and everything works correctly now. But, i will ask him to
test the following patch:
{{{#!php
if ( function_exists( 'wppa_log' ) ) {
wppa_log( 'obs', 'CRONS: ' . var_export( $crons, true ) );
}
}}}
just prior to line 117, where wppa_log() is a logger from plugin wp-photo-
album-plus
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51196#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list