skip to Main Content

Php – Symfony run fails on docker installation

I get the following error when I try to run my Symfony project via docker compose. Here is the error: Script cache:clear returned with error code 255 !! SymfonyComponentErrorHandlerErrorClassNotFoundError {#76 !! #message: """ !! Attempted to load class "MakerBundle" from…

VIEW QUESTION

log out banned user in symfony? – PHP

How can I log out active session of banned user with Symfony? This is not working security: always_authenticate_before_granting: true this is error The security option "always_authenticate_before_granting" cannot be used when "enable_authenticator_manager" is set to true. If you rely on this…

VIEW QUESTION

Redis – How to inject a specific cache pool?

In my Symfony 5 application I want to use different caches for different tasks and of course for different environments. e.g. my configuration looks like this: framework: cache: pools: cache.auth: adapter: cache.adapter.redis provider: app.my_custom_redis_provider cache.sap: adapter: cache.adapter.redis provider: app.my_custom_redis_provider services:…

VIEW QUESTION

Doctrine PHP 8 Attributes – PHP Versions

I use PHP8, Symfony 5.2 and Doctrine 3.0 in my project, But the PHP 8 attributes, allowed since Doctrine 2.9, doesn't seem to work. use DoctrineORMMappingEntity; ** * @Entity(repositoryClass="AppRepositoryMyClassRepository") */ class MyClass { works fine. use DoctrineORMMappingEntity; #[Entity(repositoryClass: MyClassRepository::class)] class…

VIEW QUESTION
Back To Top
Search