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

WordPress Trac noreply at wordpress.org
Tue May 10 21:06:20 UTC 2016


#29204: SimplePie error with fetch_feed()
-----------------------------+------------------------------
 Reporter:  useStrict        |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Feeds            |     Version:  3.8
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:
-----------------------------+------------------------------
Changes (by HoaSi):

 * keywords:   => has-screenshots


Comment:

 Reproducing the original issue using Bones on local install, PHP7

 [[Image(https://i.imgur.com/GE2RTOA.png)]]

 [[Image(https://i.imgur.com/NKjWjKL.png)]]

 After removing {{{$feed->set_cache_class( 'WP_Feed_Cache' );}}} currently
 at line 674 and adding {{{SimplePie_Cache::register( 'wp_transient',
 'WP_Feed_Cache_Transient' );}}}
 {{{$feed->set_cache_location( 'wp_transient://' . $url ); }}}

 I can confirm that [the patch
 29204.diff](https://core.trac.wordpress.org/attachment/ticket/29204/29204.diff)
 fixes the issue.

 [[Image(https://i.imgur.com/ypXD4FT.png)]]

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


More information about the wp-trac mailing list