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
well @herb I cannot believe it, but the webform module was there in modules on the disc, but missing in the listed modules, so I delete the module folder, and downloaded it again. Then...
My Webform Worksheets have disappeared
The only thing I can think of is to make sure Webform module is enabled and that the content type that needs to contain the webforms has Webform enabled for it. Edit the content type and make...
My Webform Worksheets have disappeared
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists