Fatal error: Declaration of Drupal\sqlsrv\Driver\Database\sqlsrv\Schema::tableExists($table) must be compatible with Drupal\Core\Database\Schema::tableExists($table, bool $add_prefix = true)

Created on 24 June 2024, 5 months ago

Problem/Motivation

I get a fatal error (for entire website) upon updating to Drupal 10.3

Fatal error: Declaration of Drupal\sqlsrv\Driver\Database\sqlsrv\Schema::tableExists($table) must be compatible with Drupal\Core\Database\Schema::tableExists($table, bool $add_prefix = true) in /var/www/html/web/modules/contrib/sqlsrv/src/Driver/Database/sqlsrv/Schema.php on line 863

Steps to reproduce

Use the module with Drupal 10.3

Proposed resolution

Add the missing function parameter in a backwards-compatible way?

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.4

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024