PHP Warning Undefined array key
-
Hi, we are noticing lots of warnings in our debug logs:
PHP Warning: Undefined array key 2 in /wp-includes/feed.php on line 484
PHP Warning: Undefined array key 1 in /wp-includes/feed.php on line 494After digging further, it appears that these errors are happening for posts that are type “podcast” which is the type created by SSP. The meta field “enclosure” only has the link for posts of type “podcast”, where it also has other data for other posts with embedded media.
I see in another support post on this forum that someone else had a similar issue: https://wordpress.org/support/topic/php-warning-in-header-2/
You responded there to say that that particular WordPress core function shouldn’t be called if we are using the SSP feed template. As far as I know, we have everything set up as normal with SSP, but we are still receiving that error.
Where should I look to find out whether we are using the SSP feed template or not?
Thanks!
The topic ‘PHP Warning Undefined array key’ is closed to new replies.