Skip to content

Fix/db fixes - #5348

Merged
TomJaeger merged 3 commits into
7.devfrom
fix/db-fixes
Jul 22, 2026
Merged

TomJaeger merged 3 commits into
7.devfrom
fix/db-fixes

Conversation

@TomJaeger

Copy link
Copy Markdown
Contributor

Fixes three PHP 8+ compatibility issues in the legacy database layer:

  • Normalize string table shortcuts in CI_DB_utility::backup() before calling count()
  • Forward CI_DB_driver::call_function() arguments using a real local array instead of array_splice(func_get_args(), 1)
  • Ensure native CI_DB_driver::display_error() messages are array-shaped before appending file and line details

Also updates the existing legacy database tests so they assert the fixed behavior instead of tolerating the previous PHP 8 failures.

@TomJaeger TomJaeger added this to the 7.5.26 milestone Jul 8, 2026
@TomJaeger
TomJaeger merged commit 3c45c8f into 7.dev Jul 22, 2026
23 of 24 checks passed
@TomJaeger
TomJaeger deleted the fix/db-fixes branch July 22, 2026 13:55
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