greetings people ,
After I made a backup I got error messages :
- Deprecated function: Creation of dynamic property backup_migrate_filter_utils::$saved_site_offline is deprecated in backup_migrate_filter_utils->take_site_offline() (line 217 of C:\xampp\htdocs\modules\backup_migrate\includes\filters.utils.inc).
- Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in backup_file->set_file_info() (line 521 of C:\xampp\htdocs\modules\backup_migrate\includes\files.inc).
The sequence of events unfolded after I discovered the ability to select the display levels of error messages, namely: None, Errors and Warnings, and All Messages. Opting for "Errors and Warnings," I made this choice.
I'm uncertain about the default setting following a fresh backdrop installation; I believe it might be "None," but my memory is a bit fuzzy on that.
Has anyone else come across similar messages? Moreover, I'm curious about why the message indicates that the function is deprecated. Is it commonplace for deprecated functions to be visible? And what's the rationale behind having deprecated functions within the backdrop's system?
Your insights would be greatly appreciated.
Thomas, thank you for posting all this info. I'm the maintainer of backup_migrate, and just discovered the bug that prevented you from restoring from a file by using "upload". The issue was not the lack of an info file, but something else related to the unarchiving of the tar file for restoring. I'm working on fixing this.
BTW, yes, by copying both the gz and info files and putting them in the Manual directory, you bypassed the upload step (BM finds and lists those files in the restore step). So that means that the restore proceeds correctly in those cases. So, the "restore from upload" is not really functional at this point, but I have found a solution I'm implementing.