Skip to content

Conversation

@alphp
Copy link
Contributor

@alphp alphp commented Oct 23, 2023

Fot testing:

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

@gustacoutinho
Copy link

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

@alphp
Copy link
Contributor Author

alphp commented Aug 21, 2024

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

@alphp alphp changed the title Compatibility with CakePHP 4.5 Compatibility with CakePHP 4.5 (PHP-7.4) Aug 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants