Error thrown: Call to a member function check() on null ROOT/vendor/cakephp/acl/src/Adapter/CachedDbAcl.php at line 55 Manually modifying Permission object from private to protected on DBAcl class seems to solve the problem.