I installed WordPress SEO by Yoast but it causes errors with the site. The homepage is fine, but any of the sub-pages give an error message unless I deactivate the plugin.
I have set up the plugin using the wpbeginner.com guide for Yoast but no joy there. The error I get is:
"Fatal error: Call to undefined function get_queried_object() in /home/b51940/public_html/news/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 352"
The website is: http://BusinessSafety.ie
Plugin version: 22.214.171.124
Site hosted on linux server.
Your thoughts are appreciated.