WooCommerce icon indicating copy to clipboard operation
WooCommerce copied to clipboard

Creation of dynamic property is deprecated ( php 8.2 )

Open MarelisAdlatus opened this issue 1 year ago • 2 comments

[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

MarelisAdlatus avatar Mar 11 '24 04:03 MarelisAdlatus

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

MatyasKoval avatar May 21 '24 09:05 MatyasKoval

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

MarelisAdlatus avatar May 22 '24 04:05 MarelisAdlatus