Error message

Warning: Trying to access array offset on value of type bool in Drupal\city\Controller\SettingController->copyright() (line 168 of modules/custom/city/src/Controller/SettingController.php).