There are several errors when submitting forum topics:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65552 bytes) in /home/forum/repo/www/core/includes/bootstrap.inc on line 2593
The block system and API in Backdrop is very different from Drupal's. In Backdrop, as in Drupal, modules can define blocks in code (in fact some of the API at this level is the same, with...
Posted4 days 19 hours ago by Alejandro Cremaschi (argiepiano) on:
This was from examining line 2463- of the webform.module, where
// Attach necessary JavaScript and CSS.
$form['#attached'] = array(
'css' => array(backdrop_get_path('module', 'webform...
d'oh. Because of course it is reassigning. Don't mind me...
the correct syntax is
$form['#attached']['js'][] =
backdrop_get_path('module', 'mymodule') . '/mymodule.js';
Comments
This is probably related to:
https://forum.backdropcms.org/forum/forum-preview-throws-error and/or
https://github.com/backdrop-ops/forum.backdropcms.org/issues/67
Thanks for reporting the problem.