Codeinwp / feedzy-rss-feeds

FEEDZY RSS Feeds is an easy-to-use plugin giving you RSS aggregator and autoblogging functionality. Bring the best RSS feeds to your site.
GNU General Public License v2.0
81 stars 26 forks source link

PHP warnings appearing in the dashboard #960

Closed AndreeaCristinaRadacina closed 4 months ago

AndreeaCristinaRadacina commented 4 months ago

Description

Some users mention that the latest version of Feedzy contains PHP warnings: PHP Warning: Undefined variable $version in /wp-content/plugins/feedzy-rss-feeds/includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php on line 79 PHP Warning: Undefined variable $version in /wp-content/plugins/feedzy-rss-feeds/includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php on line 80

I wasn't able to replicate the issue. ref: https://wordpress.org/support/topic/php-warning-undefined-variable-version/#post-17884659

Step-by-step reproduction instructions

  1. Create a page with Gutenberg and add a Feedzy block
  2. Add a feed source and publish
  3. Update Feedzy to the latest version

Screenshots, screen recording, code snippet or Help Scout ticket

https://plugintests.com/plugins/wporg/feedzy-rss-feeds https://plugintests.com/plugins/wporg/feedzy-rss-feeds/latest

Environment info

No response

Is the issue you are reporting a regression

Yes, this is a regression.

vytisbulkevicius commented 4 months ago

I can replicate this on a test instance.

https://sceptical-giraffe-96690f.vertisite.cloud/wp-admin login: karelitewe0107 pw: 8feIa2CDk1UpHKoPBtl3

When refreshing a post in the dashboard, it's appearing on top: https://sceptical-giraffe-96690f.vertisite.cloud/wp-admin/post.php?post=34&action=edit

image
girishpanchal30 commented 4 months ago

@AndreeaCristinaRadacina @vytisbulkevicius I've reviewed this issue and fixed it here - https://github.com/Codeinwp/feedzy-rss-feeds/pull/961

AndreeaCristinaRadacina commented 4 months ago

I tested, and it works fine now. 🚀

pirate-bot commented 4 months ago

:tada: This issue has been resolved in version 4.4.12 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: