Drush 11: gdpr dump declaration error

Created on 27 April 2023, over 1 year ago
Updated 5 January 2024, about 1 year ago

Problem/Motivation

I get the following error when I try to create a gdpr DB dump drush gdpr:sql:dump using a mysql DB and drush 11.3.2:

drush gdpr:sql:dump > gdpr_dump.sql
PHP Fatal error:  Declaration of Drupal\gdpr_dump\Sql\GdprSqlMysql::dumpCmd($tableSelection): ?string must be compatible with Drush\Sql\SqlMysql::dumpCmd($table_selection): string in /app/site/web/modules/contrib/gdpr/modules/gdpr_dump/src/Sql/GdprSqlMysql.php on line 140
 [warning] Drush command terminated abnormally.

Steps to reproduce

Proposed resolution

Remaining tasks

🐛 Bug report
Status

Fixed

Version

3.0

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