Problem/Motivation

Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\backup_migrate\Core\Service\TarArchiveReader->extractAllToDirectory() (line 68 of modules/contrib/backup_migrate/src/Core/Service/TarArchiveReader.php).

Stack:

  • PHP version: 8.2.26
  • Drupal version: 10.3.9

Steps to reproduce

  1. Obtain a public files backup from another environment.
  2. Import the backup.
  3. The error will be displayed, though the import is successful.

Proposed resolution

TBA.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marlon.buella created an issue. See original summary.

marlon.buella’s picture

Issue summary: View changes

ivnish’s picture

Status: Active » Needs review

anybody made their first commit to this issue’s fork.

danrod made their first commit to this issue’s fork.

danrod’s picture

Status: Needs review » Reviewed & tested by the community

Thanks a lot, I was able to reproduce the error, and this MR fixes it as expected, setting this issue to RTBC and merging the changes to the branch 5.1.x.

danrod’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.