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

Creation of dynamic property is deprecated ( php 8.2 ) #507

Open
MarelisAdlatus opened this issue Mar 11, 2024 · 2 comments
Open

Creation of dynamic property is deprecated ( php 8.2 ) #507

MarelisAdlatus opened this issue Mar 11, 2024 · 2 comments

Comments

@MarelisAdlatus
Copy link

MarelisAdlatus commented Mar 11, 2024

[11-Mar-2024 04:46:11 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\CarDeliveryConfig::$sample is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/CarDeliveryConfig.php on line 26
[11-Mar-2024 04:46:11 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\CarDeliveryConfig::$enabled is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/CarDeliveryConfig.php on line 27
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$packetery_carrier is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 28
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$packetery_order is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 29
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$packetery_log is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 30
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$packetery_customs_declaration is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 31
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$packetery_customs_declaration_item is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 32
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$wc_orders is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 33
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$posts is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 34
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$options is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 35
[11-Mar-2024 04:46:12 UTC] PHP Deprecated:  Creation of dynamic property Packetery\Module\WpdbAdapter::$postmeta is deprecated in /var/www/anelida.cz/wp-content/plugins/packeta/src/Packetery/Module/WpdbAdapterFactory.php on line 36
@MatyasKoval
Copy link
Contributor

Dobrý den @MarelisAdlatus,
děkujeme za nahlášení těchto warningů.

V době založení této issue byla aktuální verze pluginu 1.7.1. Tato a verze předchozí, neměly implementovanou podporu pro PHP 8.1-8.2, která byla přidána až ve verzi 1.7.2.

Na které verzi pluginu vám docházelo k těmto warningům?
Přetrvávají i s aktuální verzí pluginu?

S pozdravem,
Matyáš Kovaľ - Packeta E-Commerce Support

@MarelisAdlatus
Copy link
Author

Současná verze pluginu ta varování už nehlásí, nemám výpis pluginů z doby, kdy to hlásilo, takže už bohužel nevím, co to bylo za verzi. Teď to v konzoli prohlížeče vypadá takto:

checkout.js?ver=cf53c98010e552504698cd2e490e04c1:534 Pickup point widget options: apiKey: 4509518a3bcd918b, country: cz, language: cs, appIdentity: WordPress-6.5.3-Woocommerce-8.9.1-Packeta-1.7.3, weight: 0.4, carriers: packeta
library.js?_=1716350560987:265 Widget health check result: true
library.js?_=1716350560987:268 starting Widget
v6/:1 Wiget initialization
main.7d4d51e4.chunk.js:2 insertGoogleAnalytics {inserted: undefined}
2.71dd4527.chunk.js:2 v6 widget health check result: true
2.71dd4527.chunk.js:2 v6 widget enable geoapify check result: true
2.71dd4527.chunk.js:2 Image "parking_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "butcher_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "sports_centre_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "pitch_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "atm_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "gate_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "recycling_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "waste_basket_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "bollard_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "lift_gate_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2
2.71dd4527.chunk.js:2 Image "swimming_pool_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
(anonymous) @ 2.71dd4527.chunk.js:2
A @ util.js:349
i._notify @ image_manager.js:200
i.getImages @ image_manager.js:173
i.getImages @ style.js:1343
Dl.processTask @ actor.js:188
Dl.receive @ actor.js:127
r @ 2.71dd4527.chunk.js:2

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