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
It is possible to remove that line manually from the SQL file and it should then import to MySQL fine.
Problem with utf8mb4 Format when importing database
I think people have used bee in MAMP. I've posted in our chat channel to see if anyone can jump in here and help: #Backdrop > Bee @ 💬
Problem with utf8mb4 Format when importing database
Hi Thanks for the quick answer. Looks interesting and hope I can verify that this solves the issue. Not yet sure how I can use the bee tool in my MAMP environment. Cheers, Rolf
Problem with utf8mb4 Format when importing database
I believe the issue relates to a compatibility issue with MariaDB exports: https://mariadb.org/mariadb-dump-file-compatibility-change/ I don't know if Backup and Migrate addresses...
Problem with utf8mb4 Format when importing database
This may be overkill, but the module print contains an option to email the page as well, I believe. I'm not sure if its working in its Backdrop's version. https://github.com/backdrop-...
Forward/email this page ?