Warning: count(): Parameter must be an array or an object that implements Countable in Drupal\custom_elements\CustomElement->setSlotFromCustomElement() (line 197 of modules/contrib/custom_elements/src/CustomElement.php).
Drupal\custom_elements\CustomElement->setSlotFromCustomElement('image', Object) (Line: 83)
Drupal\ldp_custom_elements\Processor\ParagraphImageProcessor->addtoElement(Object, Object, 'default') (Line: 139)
Drupal\custom_elements\CustomElementGenerator->process(Object, Object, 'default') (Line: 118)
Drupal\custom_elements\CustomElementGenerator->generate(Object, 'default') (Line: 32)
Drupal\custom_elements\CustomElementsLayoutBuilderEntityViewDisplay->buildMultipleViaCustomElements(Array, Array) (Line: 35)
Drupal\custom_elements\CustomElementsLayoutBuilderEntityViewDisplay->buildMultiple(Array) (Line: 343)
Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'default') (Line: 285)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 18)
Drupal\paragraphs\ParagraphViewBuilder->buildMultiple(Array) (Line: 242)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ce_image_warning.patch | 1.05 KB | fago |
Comments
Comment #2
fagoThis is caused from custom code: ldp_custom_elements
Comment #3
fagoturns out this was a bug still, as the custom code used the API correctly. Fixed this in custom elements then with the patch attached.