CakeDC/cakephp-oracle-driver

5x : strtolower() expects parameter 1 to be string, null given

Closed this issue · 0 comments

Having several indexes on a table give error : "strtolower() expects parameter 1 to be string, null given" at line 515 in ROOT/vendor/cakedc/cakephp-oracle-driver/src/Database/Schema/OracleSchema.php

        if ( strtolower($tableIndex['is_primary']) === 'p') {

when an index in not a primary index $tableIndex['is_primary'] is null