conedevelopment / simplepay-gateway

OTP SimplePay bővítmény WooCommerce (WordPress) áruházak részére.
https://simplepay.conedevelopment.com
MIT License
57 stars 22 forks source link

PHP Deprecated Errors #164

Closed Jahrnyn closed 7 months ago

Jahrnyn commented 7 months ago

Leírás

Wordpress/Woocommerce oldalunkon Query Monitor plugint használva azt látjuk, hogy az OTP SimplePay Gateway for WooCommerce meglehetősen sok Deprecated hibát generál, ilyet mint például ez:

`Creation of dynamic property Cone\SimplePay\Gateway::$prefix is deprecated

wp-content/plugins/simplepay-gateway-master/src/Gateway.php:118 WPForms\ErrorHandler->error_handler() wp-content/plugins/simplepay-gateway-master/src/Gateway.php:118 Cone\SimplePay\Gateway->setOptions() wp-content/plugins/simplepay-gateway-master/src/Gateway.php:71 Cone\SimplePay\Gateway->__construct() wp-content/plugins/simplepay-gateway-master/src/Gateway.php:358 Cone\SimplePay\Gateway::boot() wp-content/plugins/simplepay-gateway-master/src/Plugin.php:100 Cone\SimplePay\Plugin::bootGateway() wp-includes/class-wp-hook.php:324 do_action('plugins_loaded') wp-settings.php:506`

image

Lehetséges, hogy a plugin még nem kompatibilis az új PHP verzióval, vagy valami mással lehet összefüggésben a "Creation of dynamic property" hiba?

iamgergo commented 7 months ago

Hello,

Igen, ez PHP kompatibilitási probléma, egyelőre nem gond, de későbbi PHP verziók esetén az lehet. Viszont ebben az ingyenes verzióban ezt már nem tervezzük frissíteni.