Version
Kirby 4.x (tested all latest versions)
boost 5.0.2 (all 5.x Versions)
multilang enabled
PHP 8.2.x
When having php dir cache active, it's breaking several functions inside the panel, it seems as it cannot get the correct page...
functions I have tested having issues are
where as the error is identical.
When using the Copy Function from within the panel:
Kirby\Cms\Page::adaptCopy(): Argument #1 ($copy) must be of type Kirby\Cms\Page, null given, called in \kirby\src\Cms\PageActions.php on line 486
On the filesystem there is folder and template file being created, as far as I can see the uuid is sometimes duplicate thus being an issue. Sometimes its creating default template instead of the intended template.
When using the moving the file the error sometimes is
and within the _drafts folder there's a default.en.txt created with only a uuid inside the file.
disabling dir caching fixes those issues
\Bnomei\BoostDirInventory::singleton(['enabled' => false]);