Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /var/www/vhosts/pierhealth.co.uk/pier-core/components/articles/model/articles/articlesrouter.class.php:63
Stack trace:
#0 /var/www/vhosts/pierhealth.co.uk/pier-core/components/articles/model/articles/articlesrouter.class.php(63): method_exists()
#1 /var/www/vhosts/pierhealth.co.uk/pier-core/cache/includes/elements/modplugin/4.include.cache.php(35): ArticlesRouter->route()
#2 /var/www/vhosts/pierhealth.co.uk/pier-core/model/modx/modscript.class.php(76): include('...')
#3 /var/www/vhosts/pierhealth.co.uk/pier-core/model/modx/modx.class.php(1674): modScript->process()
#4 /var/www/vhosts/pierhealth.co.uk/pier-core/model/modx/modx.class.php(1244): modX->invokeEvent()
#5 /var/www/vhosts/pierhealth.co.uk/pier-core/model/modx/modrequest.class.php(109): modX->sendErrorPage()
#6 /var/www/vhosts/pierhealth.co.uk/pier-core/model/modx/modx.class.php(1461): modRequest->handleRequest()
#7 /var/www/vhosts/pierhealth.co.uk/pier-www/index.php(54): modX->handleRequest()
#8 {main}
thrown in /var/www/vhosts/pierhealth.co.uk/pier-core/components/articles/model/articles/articlesrouter.class.php on line 63