[wp-trac] [WordPress Trac] #29204: SimplePie non-static WP_Feed_Cache::create error in fetch_feed()
WordPress Trac
noreply at wordpress.org
Wed Nov 11 21:41:06 UTC 2020
#29204: SimplePie non-static WP_Feed_Cache::create error in fetch_feed()
------------------------------+-----------------------------
Reporter: useStrict | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.6
Component: Feeds | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Comment (by afragen):
@SergeyBiryukov with you latest patch I am seeing the error as follows in
the dashboard.
{{{
( ! ) SCREAM: Error suppression ignored for
( ! ) Deprecated: Non-static method WP_Feed_Cache::create() should not be
called statically in /Users/afragen/Local_Beta_Sites/lightning/app/public
/wp-includes/SimplePie/Registry.php on line 214
Call Stack
# Time Memory Function Location
1 0.0003 369960 {main}( ) .../admin-ajax.php:0
2 0.8773 7813640 do_action( ) .../admin-ajax.php:184
3 0.8773 7814016 WP_Hook->do_action( ) .../plugin.php:484
4 0.8773 7814016 WP_Hook->apply_filters( ) .../class-wp-
hook.php:311
5 0.8773 7815144 wp_ajax_dashboard_widgets( ) .../class-wp-
hook.php:287
6 0.8775 7816784 wp_dashboard_primary( ) .../ajax-actions.php:400
7 0.8779 7817912 wp_dashboard_cached_rss_widget( )
.../dashboard.php:1513
8 0.8795 7846488 wp_dashboard_primary_output( )
.../dashboard.php:1135
9 0.8795 7846864 wp_widget_rss_output( ) .../dashboard.php:1529
10 0.8796 7846864 fetch_feed( ) .../widgets.php:1513
11 0.8812 7870000 SimplePie->init( ) .../feed.php:821
12 0.8817 7872296 SimplePie_Registry->call( ) .../class-
simplepie.php:1412
Variables in local scope (#12)
$class =
/Users/afragen/Local_Beta_Sites/lightning/app/public/wp-
includes/SimplePie/Registry.php:214:string 'WP_Feed_Cache' (length=13)
$method =
/Users/afragen/Local_Beta_Sites/lightning/app/public/wp-
includes/SimplePie/Registry.php:214:string 'get_handler' (length=11)
$parameters =
/Users/afragen/Local_Beta_Sites/lightning/app/public/wp-
includes/SimplePie/Registry.php:214:
array (size=3)
0 => string './cache' (length=7)
1 => string '9bbd59226dc36b9b26cd43f15694c5c3' (length=32)
2 => string 'spc' (length=3)
$result =
Undefined
$type =
/Users/afragen/Local_Beta_Sites/lightning/app/public/wp-
includes/SimplePie/Registry.php:214:string 'Cache' (length=5)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29204#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list