Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error on Adding New Feed #135

Open
cogdog opened this issue Feb 10, 2022 · 2 comments
Open

Uncaught Error on Adding New Feed #135

cogdog opened this issue Feb 10, 2022 · 2 comments

Comments

@cogdog
Copy link

cogdog commented Feb 10, 2022

I get a WordPress critical issue issue on adding a new feed, but the feed ends up in the syndication list and all feeds operate as usual.

The error reported is

An error of type E_ERROR was caused in line 1203 of the file /home/cogdog/public_html/cogdogblog.com/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php. Error message: Uncaught Error: Using $this when not in object context in /home/cogdog/public_html/cogdogblog.com/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php:1203
Stack trace:
#0 /home/cogdog/public_html/cogdogblog.com/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php(409): fwp_switchfeed_page()
#1 /home/cogdog/public_html/cogdogblog.com/wp-content/plugins/feedwordpress/syndication.php(5): FeedWordPressSyndicationPage->display()
#2 /home/cogdog/public_html/cogdogblog.com/wp-admin/admin.php(293): include('/home/cogdog/pu...')
#3 {main}

running under:

WordPress version 5.8.3
Current plugin: FeedWordPress (version 2022.0208)
PHP version 7.4.9

Originally posted in another issue by @cogdog in #134 (comment)

@radgeek
Copy link
Owner

radgeek commented Feb 23, 2022

Thanks for this report, and sorry for the trouble.

I think that this issue should be resolved in the most recent round of code cleanups, now available as version 2022.0222 here via git pull (or on the WordPress Plugin Repository page). Could you take a look and see if bumping up to the latest version solves the problem for you?

@cogdog
Copy link
Author

cogdog commented Feb 23, 2022

Thanks, autoupdate put the new version in place, and a quick test added a new feed without error. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants