The error suggests the problem– ABSPATH
and WPINC
are not defined. That is why you are seeing ABSPATHWPINC/feed.php
in the error. PHP is trying to make the most of the undefined constants and is treating them like strings. It is easy enough to demonstrate this by echo
ing a string like IAM.NOT.'defined'
.
This is likely because you are loading rss-plugin-scan.php
directly which means the WordPress core isn’t loading to define those constants. You should be loading that file in a way that also loads the WordPress core, or the parts that you need..
I don’t know how your plugin works, or what it ultimately needs to do, but you may want to load that file over the AJAX API, or by doing something like @Rarst explains here.
Related Posts:
- How to remove feeds from WordPress totally?
- Getting /feed/ behind post urls in Google Webmaster Tools; crawler errors? [closed]
- Disable comments feed, but not the others
- How to read the xml file in wordpress?
- Is it usual to have a non-Feedburner feed on a WordPress blog?
- Disable links in header (feeds and such)
- Troubleshooting fetch_feed and SimplePie
- How to exclude posts of a certain format from the feed
- Combining RSS Feeds and Sorting with fetch_feed
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- how to publish a feed of posts with a certain custom field value?
- Combining multiple RSS feeds using fetch_feed
- Yoast custom feed template as add_feed function?
- Restrict certain posts from being sent to the feed subscribers
- How to display LinkedIn feed/company updates into WordPress site? [closed]
- Duplicate Posts using Feedwordpress
- Is there a way to have a dual WP feed (full/partial)?
- Custom WordPress Feeds operators?
- How to retrieve the list of all posts ever published via the feed?
- Update feed more frequently
- w3 total cache keeps minifying my feeds
- How to use is_feed() to target a category feed?
- Adding a featured image to atom feed
- Add custom profile info into Feed
- How to filter out an iframe from feed
- combine multiple feeds with fetch_feed and display blog titles for each item?
- RSS feed validity and Google Adsense
- Possible to get feed to return latest updated posts rather than latest published?
- Removing the FeedBurner redirect
- Options for authenticated feeds
- RSS feed for deleted posts and comments
- Server stressed by /feed
- How to get feed for pages?
- How can i realize a semi-private research diary blog
- WordPress feeds and publish date
- Editing feed for thumbnails and link
- feed appearing different in the three main browsers
- Fetch_Feed cURL error 28
- Using fetch_feed to retrieve items with non common titles
- How to output WordPress feed in a non-WordPress site?
- Change conditionally a variable value for different feeds
- fetch_feed Performance Issue
- Googlebot adding /feed at the end of my URLs
- Check if feed is fetched successfully
- How can I set my RSS feed time to update feed quicker
- Why is my comment feed broken?
- Require authorization for access to RSS feeds, but leave posts public
- after server upgrade, if I enable custom permalinks, my /feed stops working
- Using links (link_rss field) as the source for fetch_feed
- wordpress feed link change
- Why I don’t see all my post in feed in WordPress
- How can I force fetch_feed to return real URL?
- Default Wordress RSS Widget does not work on a subdomain site, works when I move it
- Expire Header for custom XML feed
- My RSS feed is not working
- How to remove feeds from WordPress totally?
- a lot of errors with feedwordpress
- Does the FD Feedburner plugin create feeds for categories
- Conditional tag to show content in custom rss feed?
- Need correct results from 6 rss (fetch_feed)
- How can I rename the element to in my RSS?
- Password Protect a Podcast Feed?
- How to fetch all the movie details from IMDB
- Does it makes sense to have {post}/feed?
- Custom RSS causing timeout for website
- Add Custom Fields to Custom Post Type RSS
- Advantages and disadvantages of using automatic-feed-links
- Why does Simplepie return feed items in a wrong order?
- WordPress gallery ‘post_gallery’ filter doesn’t work with feeds?
- How to remove CPT comment feed from head?
- Scheduled event does not run at midnight
- WordPress Permalinks %postname% for RSS2 Feed URL
- Display the first image from a post in RSS feed
- Redirect feed to 404 page
- Why can’t I add this feed to the RSS widget?
- How to get more than 25 items via Simplepie RSS Feeds?
- Delaying One RSS Feed in WordPress but Not the Others?
- How can I get WP to build a feed based on multiple taxonomy terms
- How fetch_feed() works?
- How to obtain the link/URL to the feed of a custom taxonomy?
- Help needed to make my site as Aggregator
- Posts gathered from WPEMatico feeds are being mixed in different languages. Polylang is used for language separation
- What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly queryable?
- Run wp_kses_decode_entities on atom feed?
- How to customize feed?
- Custom rewrite to fetch feed data
- Creating separate feeds for custom post types
- Passing feed URLs with “&” to fetch_feed()?
- How to fetch custom post types with its full data on wordpress?
- get_item_quantity() Error When Fetching Feed
- Problem with articles feed: XML Parsing Error: XML or text declaration not at start of entity
- Hook for feed creation?
- How can I modify the header of RSS feed items?
- Error on Rss Feed for my blog
- Combining external feed into post loop
- How to import linked images and make them featured -> automagically
- How to get override the WP Admin Syndication feed limit for a custom feed?
- WordPress Plugins Feed Error, but I’m not asking for a plugins feed
- WordPress not showing the latest articles in RSS feed
- WordPress Feed Error [closed]