Yes, it’s about this topic, where you’ve already helped me:
And when exactly does this happen?
When I open the draft from the panel, the error message appears.
With status listed and unlisted don’t generate an error.
<?php e($item->isOpen(), 'text-red', 'text-green') ?>
Since this includes already an if/else query, I don’t understand why an error message appears. Or do I need another if/else query for the if/else query? That would only make the construct more complex.
The error is only displayed in draft mode. But explain that to a customer who wants to check their prepared article in the frontend. Then my phone will be ringing off the hook
Before I look for a solution, my question is: Kirby error or user error?