Grav admin plugin/theme page prompts error

Grav installation seems OK, user created and logged in.

Clicking “Pages” OK: showing 2 pages bundled with the installation.

Clicking “Plugins” or “Themes”: showing below error code:

    Twig \ Error \ RuntimeError
    An exception has been thrown during the rendering of a template ("Trying to access array offset on value of type null"). 

Any hints?

PHP version: 7.4.2 fpm
Ubuntu 1804 LTS

Other sites running in the same vagrant box is running fine.

PHP 7.4 is more strict about certain array related errors:

Can you test your site with some PHP < 7.4 ?

1 Like

Thanks for the advice. I also suspect it is because of PHP7.4. Now I have downgraded to 7.3 and it is OK.

Thanks for the feedback here, Taylor.

Thank you !! I also fix by downgrading.