Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load IpTraceable #2526

Closed
Vic-M opened this issue Oct 24, 2022 · 2 comments
Closed

Can't load IpTraceable #2526

Vic-M opened this issue Oct 24, 2022 · 2 comments

Comments

@Vic-M
Copy link

Vic-M commented Oct 24, 2022

Hello, I'm trying to use the IpTraceable extension but the config is not recognized. I'm using symfony 6 and in config/packages/stof_doctrine_extensions.yaml, I have

stof_doctrine_extensions:
    default_locale: en_US
    orm:
      default:
        timestampable: true
        ip_traceable: true

When I run the code, I get:

image

How do I enable the extension? Thanks!

@franmomu
Copy link
Collaborator

Hey @Vic-M, I'm sorry but this should be added in the bundle (https://github.com/stof/StofDoctrineExtensionsBundle), there is already a PR about that stof/StofDoctrineExtensionsBundle#233.

@Vic-M
Copy link
Author

Vic-M commented Oct 25, 2022

Thanks for the reply! I got it to work by following https://gist.github.com/11k/636d54e7e28657e0856836c07d68c9f7.

@Vic-M Vic-M closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants