My Acl admin is corrupt and I have no idea why, since I haven't changed anything from when it used to work.
When I go to /acl
, I get the following error:
Error: Class 'String' not found File: /app/Plugin/Acl/Controller/Component/AclReflectorComponent.php
Line: 17
public function getPluginName($ctrlName = null)
{
$arr = String::tokenize($ctrlName, '/'); <----- Line: 17
if (count($arr) == 2) {
return $arr[0];
} else {
return false;
}
}
I checked what's in $ctrlName
and the value is Acl/Acl
.
I'm completely lost here, what should I do?