(low priority) Fixing PHP warning
-
We’re seeing the following PHP warning:
Undefined index: video_album in <b>/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed-post-types.php</b> on line <b>925</b><br>
In class-fts-facebook-feed-post-types.php, on line 925, would you be able to change the following:
if ( isset( $fts_hide_photos_type ) && 'yes' === $fts_hide_photos_type && 'album_photos' !== $fb_shortcode['type'] && 'yes' !== $fb_shortcode['video_album'] ) {
to:
if ( isset( $fts_hide_photos_type ) && 'yes' === $fts_hide_photos_type && 'album_photos' !== $fb_shortcode['type'] && isset( $fb_shortcode['video_album'] ) && 'yes' !== $fb_shortcode['video_album'] ) {
Thanks!
- The topic ‘(low priority) Fixing PHP warning’ is closed to new replies.