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
No, that won't work. My dev server's address looks like: localhost:1000/xyz/folder1/folder2 My prod server address looks like: example.com Just using a relative...
Need PHP Filter in Backdrop
No prob. I use a NAS for development, and my sites are all in different directories, so it's like <nasip>/volume1/web/site-name.
Need PHP Filter in Backdrop
Fair enough. I'm used to having all my dev sites at the root so forgot how that sometimes works.
Need PHP Filter in Backdrop
Those links can just be /node/add/whatever and they will work on dev / stage / prod whatever. Note the leading forward slash.
Need PHP Filter in Backdrop
I am guilty (in Drupal) of using PHP Filter in places just so I can use l() and url(), since my paths are very different between dev and prod servers. For example, at the top of my Views,...
Need PHP Filter in Backdrop