Fatal error: Uncaught Error: Call to a member function checkPolicy() on null in /home/httpd/vhosts/thurmetall.ch/httpdocs/core/model/modx/modx.class.php:1947
Stack trace:
#0 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/components/consentfriend/src/ConsentFriend.php(116): modX->hasPermission('settings')
#1 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/xpdo/xpdo.class.php(1235): TreehillStudio\ConsentFriend\ConsentFriend->__construct(Object(modX), Array)
#2 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/cache/includes/elements/modplugin/26.include.cache.php(17): xPDO->getService('consentfriend', 'ConsentFriend', '/home/httpd/vho...', Array)
#3 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/model/modx/modscript.class.php(76): include('/home/httpd/vho...')
#4 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/model/modx/modx.class.php(1674): modScript->process(NULL)
#5 /home/httpd/vhosts/thurmetall.ch/httpdocs/core/model/modx/modrequest.class.php(70): modX->invokeEvent('OnHandleRequest')
#6 /home/httpd/vhosts/thurmetall.ch/htt in /home/httpd/vhosts/thurmetall.ch/httpdocs/core/model/modx/modx.class.php on line 1947