I’ve been seeing this kind of problem quite a bit lately with the Admin plugin. I don’t have a solution. I rarely use the Admin plugin, although I appreciate its importance to the site and content maintenance experience.
It might help you to provide a bit more info:
- what version of Grav and Admin plugin?
- what is your environment? (web server, PHP version)
- which specific Admin page(s) are causing this to come up?
- in your error page, can you click on the item labelled line 111 “array_map” - what are the Arguments at the bottom on the right pane? (or attach a screenshot)
This doesn’t make sense to me. Are you saying that if you put in a URL for any other page (or another site on that server?), you get error pages like this? Doesn’t sound right, I must be misinterpreting.
If we think this is a bug, you should also report this as an issue for the Admin plugin on Github. I had a quick search for similar issues but nothing conclusive.
As a workaround, you can edit the page or modular page file directly in a text editor.
But provide some more details and we’ll see it can be solved!