Running Task Dynamic\CoreTools\Tasks\SettingsToConfigTask

GET /dev/tasks/Dynamic-CoreTools-Tasks-SettingsToConfigTask

[Emergency] Uncaught Error: Class 'Dynamic\CoreTools\ORM\GlobalSiteSetting' not found

GET /dev/tasks/Dynamic-CoreTools-Tasks-SettingsToConfigTask

Line 21 in /srv/users/serverpilot/apps/pagebuildr/public/vendor/dynamic/core-tools/src/Tasks/SettingsToConfigTask.php

Source

12  */
13 class SettingsToConfigTask extends BuildTask
14 {
15     /**
16      * @param $reuqest
17      */
18     public function run($reuqest)
19     {
20         $siteConfig = SiteConfig::current_site_config();
21         $config = GlobalSiteSetting::current_global_config();
22 
23         if ($siteConfig->hasExtension('Addressable')) {
24             foreach (Config::inst()
25                          ->get('Addressable', 'db') as $key => $value) {
26                 $config->$key = $siteConfig->$key;
27             }

Trace