Conversation
supportA colleague reported this error that happens when adding a new feed and I confirmed on my own site. 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} The feed is added to the list and everything syndicates fine. These are my stats WordPress version 5.8.3 Current theme: CogDogBlog Cover Child (version 0.6) Current plugin: FeedWordPress (version 2022.0208) PHP version 7.4.9
I’m having the same issue. After adding an URL into the “New source:” field, of the Syndicated Sites settings screen, I get the Feed Finder screen with the feed URL (and sample feed data) properly displayed in the Option 1 section. But when I use the “Use this feed” button, I get this fatal error: Fatal error: Uncaught Error: Using $this when not in object context in /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php:1203 Stack trace: #0 /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php(409): fwp_switchfeed_page() #1 /home/…/wp-content/plugins/feedwordpress/syndication.php(5): FeedWordPressSyndicationPage->display() #2 /home/…/wp-admin/admin.php(293): include('/home/pubmed/pu...') #3 {main} thrown in /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php on line 1203 Never happened before. All other functions continue to work well. Tested multiple URLs, including ones with known-valid feeds. Tried adding a URL with a discoverabl feed and the feed URL itself: Same error. WordPress: version 5.9 SimplePie: version 1.5.8 PHP: version 7.4.15 FeedWordPress version 2022.0208 Thanks for your excellent plugin, BG
Reported also as in issue in developer’s GitHub repo https://github.com/radgeek/feedwordpress/issues/135
I’m having the same issue. After adding an URL into the “New source:” field, of the Syndicated Sites settings screen, I get the Feed Finder screen with the feed URL (and sample feed data) properly displayed in the Option 1 section. But when I use the “Use this feed” button, I get this fatal error: Fatal error: Uncaught Error: Using $this when not in object context in /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php:1203 Stack trace: #0 /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php(409): fwp_switchfeed_page() #1 /home/…/wp-content/plugins/feedwordpress/syndication.php(5): FeedWordPressSyndicationPage->display() #2 /home/…/wp-admin/admin.php(293): include('/home/pubmed/pu...') #3 {main} thrown in /home/…/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php on line 1203 Never happened before. All other functions continue to work well. Tested multiple URLs, including ones with known-valid feeds. Tried adding a URL with a discoverabl feed and the feed URL itself: Same error. WordPress: version 5.9 SimplePie: version 1.5.8 PHP: version 7.4.15 FeedWordPress version 2022.0208 Thanks for your excellent plugin, BG
Reported also as in issue in developer’s GitHub repo https://github.com/radgeek/feedwordpress/issues/135