Hello,

I installed the new version on my hosting. The installation succeeded.

I have issue with Canvas.

When pressing edit page, I get this error:
An unexpected error has occurred while rendering the component's form.

Error 500: Drupal\Core\Render\Element::isEmpty(): Argument #1 ($elements) must be of type array, null given, called in .../httpdocs/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/BlockComponent.php on line 245

Also, it looks like "UI Icons for Menu" module makes canvas to crash too.
I removed it to get to canvas, but after that, i get the error message above.

I changed the lines in BlockComponent.php to:
//if (Element::isEmpty($build['content'])) {
//  return $build;
//}

And it seems to work now.

Probably bug in Canvas file.

Thanks

Comments

ressa’s picture

Thanks for sharing, you could consider creating a Drupal CMS issue to alert the developers about this, so it can get fixed.

orela’s picture

ressa’s picture

Great, thanks. Let's hope the developers have an answer ... Have a nice day.