grav-plugin-admin: Error while creating a page under a folder.

Hi all, I currently have a problem when creating a new page directly under a folder.

How to reproduce :

  • Connect to admin
  • Select “pages”
  • Create a new folder
  • Click on “Add”, select previously created folder as “parent page”
  • Continue
  • Save page, then this error shows up :
TypeError
Argument 1 passed to Grav\Common\Page\Page::move() must implement interface Grav\Common\Page\Interfaces\PageInterface, null given, called in /Users/zouloux/Documents/local/sennesro/trunk/dist/user/plugins/admin/classes/plugin/AdminController.php on line 1325

Stack : Grav 1.7.0-rc.7 Grav Admin v1.10.0-rc.3

Thanks a lot !

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Also, this bug happens when using the old pages admin, not with Flex pages.