Class Concrete\Core\Permission\Key\BoardKey does not exist
Permalink
Hi,
My C5 site was installed using Composer. When upgrading, something went wrong, and started getting the following error on line 734 of concrete/vendor/illuminate/container/Container.php
Line 734 is:
To troubleshoot, I created a new site by downloading as a zip, moved my application/files and config over, but still get this same error.
Searching for class Concrete\Core\Permission\Key\BoardKey, I found it doesn't exist on either my composer site or zip created site, but it does exist in the github repositoryhttps://github.com/concrete5/concrete5/blob/develop/concrete/src/Per...
Please provide any ideas. Thanks!!!
My C5 site was installed using Composer. When upgrading, something went wrong, and started getting the following error on line 734 of concrete/vendor/illuminate/container/Container.php
Class Concrete\Core\Permission\Key\BoardKey does not exist
Line 734 is:
$reflector = new ReflectionClass($concrete);
To troubleshoot, I created a new site by downloading as a zip, moved my application/files and config over, but still get this same error.
Searching for class Concrete\Core\Permission\Key\BoardKey, I found it doesn't exist on either my composer site or zip created site, but it does exist in the github repositoryhttps://github.com/concrete5/concrete5/blob/develop/concrete/src/Per...
Please provide any ideas. Thanks!!!
I've both searched all C5 files as well as the entire database the term "BoardKey" but it doesn't exist. I've since made a little progress, and found that Concrete\Core\Permission\Key\Key::loadAll() results with $class as \Core\Permission\Key\BoardKey (and $pkgHandle as null). So, maybe just manually edit the DB? Worried that new problems will result...
Viewing 15 lines of 31 lines. View entire code block.
My hack solution was to just add the following to src/permission/keys. Not sure why I needed to do so, but it seemed to have worked.
[code]
<?php
namespace Concrete\Core\Permission\Key;
/**
* @deprecated
* Only here to keep errors from happening on upgrade
*/
class LogsKey extends Key
{
}
<?php
namespace Concrete\Core\Permission\Key;
class BoardKey extends Key
{
}
<?php
namespace Concrete\Core\Permission\Key;
class BoardAdminKey extends Key
{
}['code']
[code]
<?php
namespace Concrete\Core\Permission\Key;
/**
* @deprecated
* Only here to keep errors from happening on upgrade
*/
class LogsKey extends Key
{
}
<?php
namespace Concrete\Core\Permission\Key;
class BoardKey extends Key
{
}
<?php
namespace Concrete\Core\Permission\Key;
class BoardAdminKey extends Key
{
}['code']