getgrav / getgrav/grav-plugin-admin

Administrator path cannot be set in 2 levels after upgrade

Open
#2,185 1 comment 1 reaction 1 assignee Claimed by @mahagr View on GitHub
bug
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

I just upgraded my Grav CMS from v1.6.31 to v1.7.22.

I could not access my admin panel anymore after the upgrade due to a critical error.

After my investigation, it turned out that in v1.7.22 it is not possible anymore to have the **Administrator path** set to 2 levels, e.g. /admin/panel.

At the moment, I set the **Administrator path** to 1 level only, e.g. /administration. But it would be great if I could get my previous setting in v1.6.31 works again.

Please see the screenshots for more detail.

**Administrator path setting**
![Administrator_path_setting](https://user-images.githubusercontent.com/1643728/134811342-7154bbb7-518c-4358-b4eb-9f7bf4a0c322.png)

**Critical error**
![Critical_Error_getAttribute_on_NULL](https://user-images.githubusercontent.com/1643728/134811372-9238d4e9-f57a-400e-a00b-d5941c84fe3a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.