Fatal error: Uncaught Error: Call to undefined function add_filter() in /home/malvernj/public_html/wp-content/plugins/uk-cookie-consent/includes/controllers/class-robots-txt.php:22
Stack trace:
#0 /home/malvernj/public_html/wp-content/plugins/uk-cookie-consent/includes/controllers/class-robots-txt.php(166): termly\Robots_Txt::hooks()
#1 {main}
thrown in /home/malvernj/public_html/wp-content/plugins/uk-cookie-consent/includes/controllers/class-robots-txt.php on line 22