I have created a layout module, '3-column-top-footer-layouts' (boxton 3col footer), works fine but when updating errors are generated. They have the only effect that the user have to remember taking the site out of maintenance. But it is annoying. Could anyone help me figure out where the problem is?
The errors:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: https://paradentoseoplysning.dk/core/authorize.php?batch=1&id=19&op=do_nojs&op=do StatusText: error ResponseText: Error: Call to undefined function layout_reset_caches() in LayoutUpdater->postInstall() (line 223 of /home/haurdaln/paradentoseoplysning.dk/core/modules/system/system.updater.inc).
Continuing, this shows up:
Warning: Undefined array key "log" in installer_authorize_update_batch_finished() (line 192 of /home/haurdaln/paradentoseoplysning.dk/core/modules/installer/installer.authorize.inc).
Warning: foreach() argument must be of type array|object, null given in installer_authorize_update_batch_finished() (line 192 of /home/haurdaln/paradentoseoplysning.dk/core/modules/installer/installer.authorize.inc).
Warning: Undefined array key "log" in installer_authorize_update_batch_finished() (line 241 of /home/haurdaln/paradentoseoplysning.dk/core/modules/installer/installer.authorize.inc).
Update failed! See the log below for more information. Your site is still in maintenance mode.
Next steps
Your projects have been downloaded and updated.
Run site updates
After running site update and taking site out of maintenance all is fine, layout upgraded and functioning.
Recent comments
The old D7 style for database credentials will also work.
After deploy, site goes to myurl.xyz/core/install.php
Good catch @laryn. With it being a migration, I assumed the database credentials would be the old style.
After deploy, site goes to myurl.xyz/core/install.php
Hi breckenr. Welcome to the Backdrop CMS forum. I'm not sure what might be producing the Deprecation notices. To get rid of those temporarily you can probably revert to PHP 7.4. As...
Failed upgrade from D7
The database connection settings have been simplified in recent releases, so may look a little different than what Steve mentions (which should still work, if you prefer that format). See here...
After deploy, site goes to myurl.xyz/core/install.php
Hi eldanet..., Delete your install.php file, if you've migrated the site it's not needed. Check your database settings in the settings.php file... The format...
After deploy, site goes to myurl.xyz/core/install.php