Conversation
supportHello, Running this plugin on php 8 results in the following error: Warning: Undefined array key “images” in …/wp-content/plugins/good-old-twitter-feed-widget/good_old_twitter_widget.php on line 609 Please consider changing lines 607 – 611 of good_old_twitter_widget.php from if ( $options['images'] && isset($message['entities']['media'][0]['media_url_https']) && $message['entities']['media'][0]['media_url_https'] != '' ) { to if ( !empty($options['images']) && $options['images'] && isset($message['entities']['media'][0]['media_url_https']) && $message['entities']['media'][0]['media_url_https'] != '' ) { Thank you!
To be accurate this is only a warning, but php 8 will display it on the frontend by default, even with wp_debug set to “false”. Default error reporting is set to E_ALL in php 8. https://php.watch/versions/8.0/error-display-E_ALL
Hi Gregbob, the issue is now fixed in the 1.2.6 release. Thanks for reporting it!
To be accurate this is only a warning, but php 8 will display it on the frontend by default, even with wp_debug set to “false”. Default error reporting is set to E_ALL in php 8. https://php.watch/versions/8.0/error-display-E_ALL
Hi Gregbob, the issue is now fixed in the 1.2.6 release. Thanks for reporting it!