backdrop-contrib / paragraphs

Paragraphs module to control your content flow
https://backdropcms.org/project/paragraphs
GNU General Public License v2.0
5 stars 11 forks source link

Issue with Block Reference fields #138

Closed laryn closed 1 year ago

laryn commented 2 years ago

I was trying to add a block reference field to a Paragraph Type and this is the result:

Notice: Undefined property: ParagraphsItemEntity::$uid in paragraphs_item_access() (line 202 of /app/modules/contrib/paragraphs/paragraphs.module).

TypeError: Argument 1 passed to paragraphs_paragraphs_item_access() must be an instance of ParagraphsItemEntity, string given, called in /app/core/includes/module.inc on line 975 in paragraphs_paragraphs_item_access() (line 231 of /app/modules/contrib/paragraphs/paragraphs.module).

argiepiano commented 2 years ago

Try using the dev version of Block Reference. There is a commit from Feb 5, 2019 that deals with parameters for access functions. The commit has not been released (last release is from 2018). BTW, it looks like an abandoned project - one more to the list...

argiepiano commented 2 years ago

https://github.com/backdrop-contrib/blockreference/commit/2ea2a3407dc53607fe3657a0443940613c5b7e1c

laryn commented 1 year ago

I've opened an issue to check in with the maintainer: https://github.com/backdrop-contrib/blockreference/issues/13

laryn commented 1 year ago

This seems to be an issue with Block Reference so I'll close it here.