[wp-trac] [WordPress Trac] #29204: SimplePie error with fetch_feed()

WordPress Trac noreply at wordpress.org
Wed Aug 13 15:22:37 UTC 2014


#29204: SimplePie error with fetch_feed()
--------------------------+-----------------------------
 Reporter:  useStrict     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 There seems to be a bug in SimplePie that raises the following notice
 every time an RSS Feed Dashboard widget is added to the Dashboard.

 {{{
 call_user_func_array() expects parameter 1 to be a valid callback, non-
 static method WP_Feed_Cache::create() should not be called statically on
 line 215 in file /path/to/wp-includes/SimplePie/Registry.php
 }}}

 Calling `fetch_feed()` is the best way to raise it. I'm using 'blackbox-
 debug-bar' plugin to capture the notices.

 Examples to reproduce the error:

 Install and use [https://wordpress.org/plugins/dashboard-feed-widget/
 Dashboard Feed Widget]

 or follow one of the tuts below.

 http://adamscottcreative.com/add-your-own-news-feed-to-wordpress-
 dashboard/

 http://samglover.net/build-your-own-wordpress-dashboard-widget-for-any-
 rss-feed/

 I suspect the reason we don't see it when "WordPress News" is displayed is
 because the fetch_feed() runs via ajax and does not get captured in the
 current screen.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29204>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list