- Issue created by @BramDriesen
- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Just realised all these errors are in the bynder-php-sdk
- Status changed to Closed: works as designed
9 months ago 8:28am 15 February 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
With D10 comes PHP 8.2 support. Unfortunately the Bynder module is throwing several deprecations. Mainly the creation of dynamic properties.
- Install D10
- PHP 8.2
- Install Bynder
- Go to /admin/configuration
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
- Go to /admin/config/services/bynder
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
Make the module PHP 8.2 compatible while still trying to keep backwards compatibility with 8.1
MR
N/A
N/A
N/A
Closed: works as designed
4.0
Code
Just realised all these errors are in the bynder-php-sdk