[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API
WordPress Trac
noreply at wordpress.org
Mon May 20 01:51:15 UTC 2013
#23216: Create "WP Heartbeat" API
----------------------------+------------------
Reporter: azaozz | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.6
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: autosave-redo |
----------------------------+------------------
Comment (by jtsternberg):
I have the debug log enabled and have been using trunk while testing a
plugin of mine in development. It creates posts during an ajax action, and
I've found that my debug log is filling up with the following errors:
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1070
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1074
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1076
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1077
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1077
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1080
[20-May-2013 01:41:07 UTC] PHP Notice: Trying to get property of non-
object in /wp-includes/capabilities.php on line 1080
I put some debug things (debug_backtrace() written to the log) in place to
see what was happening and traced it back to the new heartbeat ajax
action. For some reason the actual post ID is never getting sent.
Once the error starts, it continues to write the same 7 error lines each
time the heartbeat action happens (every 15-60 seconds?). Needless to say,
this fills up my debug log pretty quickly.
Hopefully it will help you if I provide my debug log (with my own debug
data injected) here. http://b.ustin.co/1ZYp
It's very possible I'm doing something wrong here, but nothing stands out
to me, and it's definitely related to the new heartbeat api.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:69>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list