PHP 8 compatibility fix / request
-
Hello,
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 8 compatibility fix / request’ is closed to new replies.