In WordPress you can get the error “RSS Error: XML or PCRE extensions not loaded!”
To fix this run the following commands in command line:
sudo apt install php-xml
sudo service apache2 restart
When you reload your WordPress page the error should now be gone.
2 comments on “How to fix “RSS Error: XML or PCRE extensions not loaded!””
Thanks for this – just what I needed to get my RSS fetch function working.
One small typo: I think it should be “sudo service apache2 restart”
You’re completely right – thanks!