You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is thrown when backing up the entire site and db.
Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in backup_file->set_file_info() (line 521 of /Users/XXX/Sites/localhost/bdtesting/modules/backup_migrate/includes/files.inc).
The problem is that backup_file::set_file_info() expects a file name as part of the received array. But backup_migrate_files_destination_archivesource::get_db() doesn't pass a filename, since the file has already been initialized previously when backing up the site files. The solution is to avoid doing the explode if the array is empty.
The text was updated successfully, but these errors were encountered:
argiepiano
added a commit
to argiepiano/backup_migrate
that referenced
this issue
Dec 10, 2023
This is thrown when backing up the entire site and db.
Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in backup_file->set_file_info() (line 521 of /Users/XXX/Sites/localhost/bdtesting/modules/backup_migrate/includes/files.inc).
The problem is that
backup_file::set_file_info()
expects a file name as part of the received array. Butbackup_migrate_files_destination_archivesource::get_db()
doesn't pass a filename, since the file has already been initialized previously when backing up the site files. The solution is to avoid doing the explode if the array is empty.The text was updated successfully, but these errors were encountered: