plugin update asap
-
this plugin needs to be fix asap this plugin doesn’t support php7.1 php7.2 php7.3
php5.6 is no longer supported since 31 December 2018
php7.0 is no longer supported since 3 December 2018thanks
-
I found the latest dev version of this plugin on github works for me on php 7.2… https://github.com/radgeek/feedwordpress
of course, it would be nice if this repository was updated, but hope this helps!
tried it on php7.2 from github
but only getting errors like thisGot error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/wp-content/plugins/feedwordpress/syndicatedpost.class.php on line 708
Ah, ok. I looked at the code and determined the error occurs when there are no deleted posts in the feed. to fix the error i added a check for empty in line 307.
old
if (count($tombstones) > 0) :
newif ( !empty($tombstones) && count($tombstones) > 0) :
hope this helps!
oh- my noisy log fix was to /wp-content/plugins/feedwordpress/syndicatedlink.class.php, not syndicatedpost.class.php on line 708 like you mentioned. A similar check should also take care of that count instance.
something like
oldif (count($aa) > 0) :
newif (!empty($aa) && count($aa) > 0) :
thanks that fixed it but now i get
AH01071: Got error ‘->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_111′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_111’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_111’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_115′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_115’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_115’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_117′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_117’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_117’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_122′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_122’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_122’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_110′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_110’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_110’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_109′ AND wp_postmeta.me’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_retire_me_109’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_retire_me_109’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->auto_update, FeedWordPress->update, do_action(‘feedwordpress_update_complete’), WP_Hook->do_action, WP_Hook->apply_filters, Syn…\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.meta_value = ‘1’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.meta_value = ‘1’ )\n) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘fwpzapped’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, FeedWordPress->feedwordpress_cleanup, WP_Query->__construct, WP_Query->query, WP_Query->get_posts\nPHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.’ at line 2 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.meta_value = ‘2’) — ‘ AND ( \n ( wp_postmeta.meta_key = ‘_feedwordpress_zapped_blank_me’ AND wp_postmeta.meta_value = ‘2’ )\n) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘fwpzapped’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 15 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filt
forget about the last post it was from a bad database
(don’t know how to delete that post)did a fresh WordPress install
but getting only this error
PHP Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/feedwordpress/syndicatedpost.class.php on line 1332
This is a direct question for C. Johnson.
I particularly appreciate the development and maintenance of this plugin until recently. But now it’s important to know if you will continue to maintain it after upgrading to PHP 7.0 and above. Many use their plugin and if it will be discontinued we need to find alternatives. ThanksDoes anyone know an alternative to feedwordpress ???
- The topic ‘plugin update asap’ is closed to new replies.