Open alphp opened 11 months ago
Can you help me? im facing this error when i try to connect my app to de oracle DB.
Fatal error: Declaration of CakeDC\OracleDriver\Config\ConfigTrait::config($key = NULL, $value = NULL, $merge = true) must be compatible with Cake\Database\Driver::config(?string $key = NULL, $value = NULL, bool $merge = true): array in C:\xampp\htdocs\prontuariov4\vendor\cakedc\cakephp-oracle-driver\src\Database\Driver\OracleBase.php on line 75
using cakephp 4.5 and oracle 21C
You can try the following solutions for CakePHP-4.5:
composer config repositories.cakephp-oracle-driver git "https://github.com/alphp/cakephp-oracle-driver"
composer require cakedc/cakephp-oracle-driver dev-5.x-cakephp-4.5
composer config repositories.cakephp-oracle-driver git "https://github.com/alphp/cakephp-oracle-driver"
composer require cakedc/cakephp-oracle-driver dev-5.x-php-8.x
Fot testing: