Errors when upgrading version

Hi Guys,

Please assist, i too have broken my website

because of aversion upgrade,

Unable to get permission key for view_debug_error_information

  • Exception

  • Stack Trace

Exception

in /home/s1k51jpnh7w0/public_html/updates/concrete-cms-9.4.7-remote-updater/concrete/src/Permission/Checker.php (line 70)

  1. $app = Application::getFacadeApplication();

  2. // handles task permissions

  3. $permission = $app->make('helper/text')->uncamelcase($f);

  4. $pk = PermissionKey::getByHandle($permission);

  5. if (!$pk) {

  6. throw new Exception(t('Unable to get permission key for %s', $permission));

  7. }

  8. switch (count($a)) {

  9. case 0:

  10. $r = $pk->validate();

  11. break;

You could try running this SQL command directly against the database (e.g. in PHPMyAdmin):

INSERT INTO `PermissionKeys` (`pkHandle`, `pkName`, `pkCanTriggerWorkflow`, `pkHasCustomClass`, `pkDescription`, `pkCategoryID`, `pkgID`)
VALUES
('view_debug_error_information', 'View Debug Error Information', '0', '0', '', '10', '0');

Only thing to check is the PermissionKeyCategories table - in that there should be an entry with an ID of 10, with the handle value of ‘admin’. If it’s something different, change the 10 in the query to that number instead. (but I’d be surprised if it was some other number)