Fatal error: Uncaught Error: Call to a member function checkPolicy() on null in /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/modx.class.php:1941
Stack trace:
#0 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/sources/modmediasource.class.php(291): modX->hasPermission('directory_chmod')
#1 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/sources/modmediasource.class.php(269): modMediaSource->getPermissions()
#2 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/sources/modfilemediasource.class.php(27): modMediaSource->initialize()
#3 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/modelement.class.php(493): modFileMediaSource->initialize()
#4 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/modelement.class.php(532): modElement->getSourceFile(Array)
#5 /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/modscript.class.php(178): modElement->getFileContent(Array)
#6 /var/www/html/starh in /var/www/html/starhotels.com/releases/20190923234419/core/model/modx/modx.class.php on line 1941