I've upgraded a fairly complex site from Drupal 7 to Backdrop 1.22. When the update process finished, I got a few error messages related to three specific modules (Node Notify, XML Sitemap, Entity Reference), all of which I managed to fix by either reinstalling the module or by changing some settings on various related administration pages. There are two other errors left that are giving me a hard time.
1. On view pages that use the Views Selective Exposed Filters module I get:
Warning: Creating default object from empty value in views_handler_filter_selective->get_oids() (line 318 of C:\xampp\htdocs\backdrop\modules\views_selective_filters\views\views_handler_filter_selective.inc). Warning: Creating default object from empty value in views_handler_filter_selective->get_oids() (line 319 of C:\xampp\htdocs\backdrop\modules\views_selective_filters\views\views_handler_filter_selective.inc).
The referenced lines from views_handler_filter_selective.inc are:
// Also disable attachments. $display->handler->definition['accept attachments'] = FALSE; $display_default->handler->definition['accept attachments'] = FALSE;
I don't know what to make of this. I've tried reinstalling the Views UI and Views Selective Exposed Filters and also creating a new view using selective exposed filters but I always get the same message. I've tested the module on a fresh Backdrop installation with no issues.
2. On content pages related to the H5P module I get:
Deprecated function: Array and string offset access syntax with curly braces is deprecated in require_once() (line 4045 of C:\xampp\htdocs\backdrop\core\includes\bootstrap.inc). Deprecated function: Array and string offset access syntax with curly braces is deprecated in require_once() (line 4045 of C:\xampp\htdocs\backdrop\core\includes\bootstrap.inc).
Strangely, when I checked the referenced line in bootstrap.inc, I found:
(There are no curly braces.)
I've also tried reinstalling the H5P module but the error message didn't go away.
I would suppose that these are not very serious errors and they wouldn't affect the functionality of the site if I turned off error reporting, but I'd prefer not to do that.
Do you have any thoughts on what might be triggering these errors and how I could go about fixing them?
Re H5P errors, this is probably the same as this Drupal issue: https://www.drupal.org/project/h5p/issues/3126374. THe Backdrop H5P libraries havent been updated to latest. Youll need to temporarily make those changes manually in the affected H5P library files, until we update the library.