I need to test locally my J! 3.10.11 site before to update it to J! 4. I'm on Mac using MAMP Free.
I copied files and db and configurated configuration.php file, the frontend is loading almost fine.
The problem is that in backend I can't login (using the correct username/password of course). I get this alert:
Code: Select all
Notice: Trying to get property 'id' of non-object in /Applications/MAMP/htdocs/site/libraries/src/Access/Access.php on line 454
Code: Select all
// Now create save the components asset tree to preload memory.
foreach ($assets as $asset)
{
if (!isset(self::$assetPermissionsParentIdMapping[$asset->name]))
{
self::$assetPermissionsParentIdMapping[$asset->name] = array($rootAsset->id => $rootAsset, $asset->id => $asset);
self::$preloadedAssets[$asset->id] = $asset->name;
}
}
I can choose 7.1.33 in MAMP.
Any suggestion to fix the login problem?
I already tried to change username and password via PhpMyAdmin.