MD5 error on line 1054
-
Hi,
I have Feedzy 3.5.2 running on two websites. Both websites use the same theme, almost identical plugins and draw on the same feeds, which are displayed on pages only using the shortcode.
On one website everything works fine.
However, on the other I’m getting an error such as this about every 20 seconds.
[06-Apr-2021 05:58:28 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/xxxxx/public_html/account1/xxxxxx/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
I’ve been through and checked the feeds, checked the shortcodes, dumped the cache and it is still pushing my server to the limits.
I’m not seeing any errors on the frontend of any of aggregated feeds. We don’t use the feeds in a widget and we don’t post the feeds as individual posts.
Thank you
The page I need help with: [log in to see the link]
-
If rolled back to version 3.5.1 the error is the same line of code, but at line 1023
[09-Apr-2021 04:40:36 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/xxxxx/public_html/account1/xxxxxxx/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1023
Hi @aecnews,
Thank you for using Feedzy and reporting this.
What is the PHP version running on the server where this warning occurs? Does another server where the warning is not printed run a different version of PHP? Do both instances have debug mode enabled and log the warnings/notices?
Could you also share the full shortcode with Feeds that you’re using to try replicating this on our end?
Thank would be very helpful, thanks!Hello and thank you.
Both are running on the same dedicated IP with PHP 7.0. We found that the theme and Feedzy had issues with PHP 7.2 and 7.4.
This is the shortcode for the site where the errors are coming from
[feedzy-rss feeds=”singapore-news-headlines” offset=”0″ feed_title=”yes” refresh=”1_hours” lazy=”yes” max=”50″ summary=”yes” summarylength=”300″ sort=”date_desc” target=”_blank” follow=”no” multiple_meta=”yes” thumb=”no” http=”force” ]
This is the shortcode on the site without errors for the same collection of feeds.
[feedzy-rss feeds=”singapore-news-headlines” offset=”0″ feed_title=”yes” refresh=”0.5_hours” lazy=”yes” max=”50″ summary=”yes” summarylength=”300″ sort=”date_desc” target=”_blank” follow=”no” multiple_meta=”yes” thumb=”no” http=”force” ]
Here is a grab from the debug log.
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] ?? ——GET HTTP/1.1 (HTTPS) /wp-content/litespeed/localres/www.googletagmanager.com/gtag/js ? id=UA-22214898-1
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] HTTP_REFERER: https://photo-journ.com/singapore-news-headlines/
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] Accept: */*
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] Accept Encoding: gzip
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] X-LSCACHE: true
04/12/21 21:06:17.828 [83.143.245.12:17304 1 kf9] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] ?? ——GET HTTP/1.1 (HTTPS) /wp-content/litespeed/localres/www.googletagmanager.com/gtag/js ? id=UA-22214898-1
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] HTTP_REFERER: https://photo-journ.com/thailand-news-headlines/
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] Accept: */*
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] Accept Encoding: gzip
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] X-LSCACHE: true
04/12/21 21:06:17.924 [45.121.209.168:19844 1 eEG] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] ?? ——POST HTTP/1.1 (HTTPS) /wp-json/feedzy/v1/lazy/
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] HTTP_REFERER: https://photo-journ.com/singapore-news-headlines/
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] Accept: */*
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] Accept Encoding: gzip
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] X-LSCACHE: true
04/12/21 21:06:17.945 [83.143.245.12:20788 1 Z4v] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:18.243 [83.143.245.12:17304 1 kf9] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:18.427 [45.121.209.168:19844 1 eEG] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:18.441 [45.121.209.168:20302 1 GJA] ?? ——POST HTTP/1.1 (HTTPS) /wp-json/feedzy/v1/lazy/
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] HTTP_REFERER: https://photo-journ.com/thailand-news-headlines/
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] Accept: */*
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] Accept Encoding: gzip
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] X-LSCACHE: true
04/12/21 21:06:18.442 [45.121.209.168:20302 1 GJA] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:18.526 [83.143.245.12:20788 1 Z4v] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:19.026 [45.121.209.168:20302 1 GJA] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:19.137 [83.143.245.12:20788 1 Z4v] [REST] ? Internal REST ON [filter] rest_request_before_callbacks
04/12/21 21:06:19.436 [45.121.209.168:20302 1 GJA] [REST] ? Internal REST ON [filter] rest_request_before_callbacks
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] ?? ——POST HTTP/1.1 (HTTPS) /wp-cron.php ? doing_wp_cron=1618236366.0485670566558837890625
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] HTTP_REFERER: https://photo-journ.com/wp-cron.php?doing_wp_cron=1618236366.0485670566558837890625
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] User Agent: WordPress/5.5.3; https://photo-journ.com
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] Accept: */*
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] Accept Encoding: gzip
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] X-LSCACHE: true
04/12/21 21:06:19.443 [192.138.189.181:19940 1 Wvl] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:20.042 [192.138.189.181:19940 1 Wvl] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] ?? ——GET HTTP/1.1 (HTTPS) /wp-content/litespeed/localres/www.googletagmanager.com/gtag/js ? id=UA-22214898-1
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] HTTP_REFERER: https://photo-journ.com/philippines-news-headlines/
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] Accept: */*
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] Accept Encoding: gzip
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] X-LSCACHE: true
04/12/21 21:06:20.624 [37.120.203.74:51026 1 pRO] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] ?? ——GET HTTP/1.1 (HTTPS) /wp-content/litespeed/localres/www.googletagmanager.com/gtag/js ? id=UA-22214898-1
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] HTTP_REFERER: https://photo-journ.com/philippines-news-headlines/
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] Accept: */*
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] Accept Encoding: gzip
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] X-LSCACHE: true
04/12/21 21:06:20.837 [185.156.175.182:35088 1 Uai] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:21.244 [37.120.203.74:51026 1 pRO] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] ?? ——POST HTTP/1.1 (HTTPS) /wp-json/feedzy/v1/lazy/
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] HTTP_REFERER: https://photo-journ.com/philippines-news-headlines/
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:87.0) Gecko/20100101 Firefox/87.0
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] Accept: */*
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] Accept Encoding: gzip
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] X-LSCACHE: true
04/12/21 21:06:21.331 [37.120.203.74:54062 1 kt8] LSCACHE_VARY_COOKIE: _lscache_vary
04/12/21 21:06:21.528 [185.156.175.182:35088 1 Uai] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:22.030 [37.120.203.74:54062 1 kt8] [Core] Bypassed due to debug disable all setting
04/12/21 21:06:22.442 [37.120.203.74:54062 1 kt8] [REST] ? Internal REST ON [filter] rest_request_before_callbacksThe only errors shown in the error log are this
[12-Apr-2021 13:57:04 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:57:15 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:57:37 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:57:38 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:57:49 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:58:23 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:58:23 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054
[12-Apr-2021 13:58:30 UTC] PHP Warning: md5() expects parameter 1 to be string, array given in /home/pattayaw/public_html/account1/photo-journ/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 1054Thank you
Thanks for sharing more details.
Could you also share those feeds that belong to singapore-news-headlines category?
You have also mentioned that Feedzy has issues with PHP 7.4, could you elaborate what are the issues that you faced as we are not aware of such issues and would love to hear more if there are such.
If you can also share the name of the theme that you’re using that would also help as it might be some incompatibility problem (unlikely, but it would be great to replicate the exact same scenario as you have).
Thanks!
Hi Vytis,
Sorry for the delay, we went into a lockdown here.
The theme is Advanced Newspaper 4.2 by Gabfire themes.The error I captured with (I think) PHP 7.4 was this
[09-Apr-2021 04:58:10 UTC] PHP Warning: Use of undefined constant ‘feedzy_feed_items’ - assumed '‘feedzy_feed_items’' (this will throw an Error in a future version of PHP) in /home/pattayaw/public_html/account1/aecnewstoday/wp-content/themes/advanced-newspaper/functions.php on line 1017
Which may have been caused by some custom code in Functions.PHP to filter the feed. The custom code was removed as part of the trouble shooting process.
I am running feeds for 10 Southeast Asian countries, plus the region. The Singapore one is an example. The same shortcode is used for all.
Re the list of feeds. I’d rather not provide all of the information that would allow someone to build a Southeast Asian news site in a public forum ?? .
I’m happy to email the list of feeds to you. Across all 10 Asean members there’s probably close to 100 feeds.
None of the US embassy feeds such as this seem to work, though.
There’s no other errors being thrown except the MD5 error. There is no indication of this on the front end.
Thanks
John
And like so many other support threads the support just stops coming. Throwing this off my sites today and replacing it with other products. Really crap support.
Hi @aecnews,
We try to reply in our support forum for users using the free version of the plugin within a few business days. Your last reply in this thread was made on Thursday and today (Monday) and this is the reason we still haven’t checked it.
For faster support, you can always check our premium version (that comes with additional features) and per our support policy, we reply within 8 business hours.
The last warning that you shared is coming from the functions.php file of your theme and not the Feedzy plugin so as you mentioned there is probably custom code added that you need to check.
I’m sorry to hear that you decide to remove Feedzy from your website. Thank you for your understanding.
- The topic ‘MD5 error on line 1054’ is closed to new replies.