Hi all,
I am currently testing a migration of a Drupal 7 site and post migration I have a large number of notices turning up in the logs and on screen. I assume there is something in the migrated data or structure that is causing the issue but I really don't know where to start looking? Can anyone offer some incite as to why they are appearing and how to fix it.
If I navigate to the status report or dashboard I get two notices
- Notice: Undefined index: name in system_requirements() (line 33 of W:\wwwroot\backdrop\core\modules\system\system.install).
- Notice: Undefined index: version in system_requirements() (line 35 of W:\wwwroot\backdrop\core\modules\system\system.install).
If I navigate to the Modules page I get a additional notice
- Notice: Undefined index: distribution_name in backdrop_install_profile_distribution_name() (line 222 of W:\wwwroot\backdrop\core\includes\install.inc).
The rest of the website appears to be working and I can edit content without notices on those screens.
Drupal version was 7.77
Backdrop version is 1.17.4
I tried flushing the cache just in case but that did not make any difference.
I have added some screenshots below
Hmm, it appears this is a bug: https://github.com/backdrop/backdrop-issues/issues/4799
That function should return 'Backdrop CMS' if the profile doesn't have a 'distrubution name' set. As it is, the profile doesn't set a name, and 'Backdrop CMS' isn't being returned, so you get that notice displayed...
It's safe to ignore it, though I realise it's annoying. If you're ok patching core you can try applying this fix and let us know if that works for you: https://github.com/backdrop/backdrop/pull/3436/files