Deprecated function: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in backup_migrate_source_db_mysql->sources()

Created on 14 April 2024, 2 months ago
Updated 28 April 2024, 2 months ago

Loading the Quick Backup page after upgrading the server to PHP 8.1 results in the following error:

Deprecated function: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in backup_migrate_source_db_mysql->sources() (line 91 of includes/sources.db.mysql.inc).

This happens because $info['host'] is not defined.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024