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

PHP deprecations errors in 7.0.17 #19951

Open
deurk opened this issue Jun 27, 2023 · 1 comment
Open

PHP deprecations errors in 7.0.17 #19951

deurk opened this issue Jun 27, 2023 · 1 comment

Comments

@deurk
Copy link

deurk commented Jun 27, 2023

🐛 I'm reporting a Bug 🐛

Since updating to v7.0.17, logs are filled with the following errors:

[Tue Jun 27 09:48:02.702813 2023] [proxy_fcgi:error] [pid 137381:tid 139898912741120] [client 51.178.14.68:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Proxies\\__CG__\\Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/var/cache/prod/doctrine/orm/Proxies/__CG__AkeneoUserManagementComponentModelUser.php on line 9PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\ActionMetadata implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/ActionMetadata.php on line 7PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Acl\\Domain\\RootBasedAclWrapper implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Acl/Domain/RootBasedAclWrapper.php on line 10PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  hash_hmac(): Passing null to parameter #2 ($data) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/UIBundle/EventListener/ScriptNonceGenerator.php on line 55PHP message: PHP Deprecated:  hash_hmac(): Passing null to parameter #2 ($data) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/UIBundle/EventListener/ScriptNonceGenerator.php on line 55'
[Tue Jun 27 09:48:03.863449 2023] [proxy_fcgi:error] [pid 137382:tid 139899457939200] [client 51.178.14.68:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Proxies\\__CG__\\Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/var/cache/prod/doctrine/orm/Proxies/__CG__AkeneoUserManagementComponentModelUser.php on line 9PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\ActionMetadata implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/ActionMetadata.php on line 7PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Acl\\Domain\\RootBasedAclWrapper implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Acl/Domain/RootBasedAclWrapper.php on line 10PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/VersioningBundle/EventSubscriber/AddVersionListener.php on line 223PHP message: PHP Deprecated:  hash_hmac(): Passing null to parameter #2 ($data) of type string is deprecated in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/UIBundle/EventListener/ScriptNonceGenerator.php on line 55'
[Tue Jun 27 09:48:11.058017 2023] [proxy_fcgi:error] [pid 137382:tid 139899634185984] [client 185.55.99.93:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9', referer: https://pim.black-book-editions.fr/
[Tue Jun 27 09:48:13.334811 2023] [proxy_fcgi:error] [pid 137382:tid 139899617400576] [client 185.55.99.93:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9', referer: https://pim.black-book-editions.fr/
[Tue Jun 27 09:48:13.645236 2023] [proxy_fcgi:error] [pid 137382:tid 139899609007872] [client 90.1.42.197:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9', referer: https://pim.black-book-editions.fr/
[Tue Jun 27 09:48:20.679466 2023] [proxy_fcgi:error] [pid 137381:tid 139899583829760] [client 185.55.99.93:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9', referer: https://pim.black-book-editions.fr/
[Tue Jun 27 09:48:20.704541 2023] [proxy_fcgi:error] [pid 137381:tid 139899483182848] [client 185.55.99.93:0] AH01071: Got error 'PHP message: PHP Deprecated:  Akeneo\\UserManagement\\Component\\Model\\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Component/Model/User.php on line 22PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\AclAnnotationStorage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/AclAnnotationStorage.php on line 8PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Annotation\\Acl implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Annotation/Acl.php on line 9PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Metadata\\ActionMetadata implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Metadata/ActionMetadata.php on line 7PHP message: PHP Deprecated:  Oro\\Bundle\\SecurityBundle\\Acl\\Domain\\RootBasedAclWrapper implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/pim/pim_20230623152433_commit_17ec525d/vendor/akeneo/pim-community-dev/src/Oro/Bundle/SecurityBundle/Acl/Domain/RootBasedAclWrapper.php on line 10', referer: https://pim.black-book-editions

Is that only on my installation that those deprecation errors are happening?

Thanks.
akeneo-pim-system-info_2023-06-27_09_58.txt

@mmenozzi
Copy link

Same here! It also seems that this breaks the login while loading /js/extensions.json in config-provider.js...

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