CvekCoding

Results 11 comments of CvekCoding

Had the same issue. Solution is to put paretheses around WHERE clause (as andreasferber suggested) + use lower-case "true". So the proper string will be: `@ORM\Index(name="subscriber_notification_idx", columns={"subscriber_notification"}, options={"where": "(subscriber_notification =...

At the same time, a simple restart of the container sometimes helps and Frankenphp begins to process requests successfully

My opcache related configs. ``` #api/docker/frankenphp/conf.d/app.prod.ini opcache.preload_user = root opcache.preload = /app/config/preload.php ``` ``` #api/config/preload.php

BTW the file /var/cache/prod/App_KernelProdContainer.preload.php doesnt exist

Sorry, it does - this file exists in cache directory

I think no. It's the same container and sometimes it runs to the issue, sometimes - not.

You are right. When I disabled this script, the issue gone

For now I created the following processor decorator to work-around the issue: ```php #[AsDecorator(decorates: 'api_platform.doctrine.orm.state.persist_processor')] final readonly class PurgeParentCacheCollection implements ProcessorInterface { public function __construct( #[Autowire(service: 'api_platform.http_cache.purger')] private PurgerInterface $purger,...