PoketheyeG
Member
Posted 2 years ago #
In the incoming links dashboard, following error is incoming:
Fatal error: Please call SimplePie_Cache::create() instead of the constructor in /home8/XXXXXX/public_html/restoretherepublic/wp-includes/class-feed.php on line 13
This doesnt seem to be causing any issues, but Im a bit concerned. Anyone familiar with this error at all?
Thanks In Advance
PG
derrickam
Member
Posted 2 years ago #
I'm having the same error.
Make sure you upgraded all the files. Upgrade them manually if necessary.
feedmeastraycat
Member
Posted 2 years ago #
For people like me who Googled their way here but then had to find the solution by them self... :)
I used SimplePie in my theme. I used the following line:
require_once(WP_CONTENT_DIR.'/themes/feedmeastraycat2/libs/simplepie.inc');
Which I changed to:
require_once(ABSPATH.'/wp-includes/class-simplepie.php');
Tadaaaa.
Thanks, @feedmeastraycat ! I had the same problem with SimplePie on the Accessible News Ticker (ANT) plugin, which uses a copy of its own SimplePie (which has the same problem). Changing the included line as per your suggestion fixed ANT for me!
nickkeenan
Member
Posted 2 years ago #
God bless you both for figuring this out. Going to suggest an update to ANT.