Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Notice when Listing item block title is not set #141

Closed
kp77 opened this issue Dec 8, 2021 · 1 comment
Closed

PHP Notice when Listing item block title is not set #141

kp77 opened this issue Dec 8, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kp77
Copy link
Contributor

kp77 commented Dec 8, 2021

I'm getting the following PHP notice when the (not required) title field of oe_list_item_block par. type is not set:

Notice: Trying to get property 'value' of non-object in oe_bootstrap_theme_preprocess_paragraph__oe_list_item_block() (line 132 of themes/contrib/oe_bootstrap_theme/includes/paragraphs.inc).

Please note that this is on OE Bootstrap Theme 1.0.0-alpha3, on 1.0.0-alpha4 this code was moved to: https://github.com/openeuropa/oe_bootstrap_theme/blob/1.0.0-alpha4/modules/oe_bootstrap_theme_paragraphs/oe_bootstrap_theme_paragraphs.module#L156

@kp77 kp77 changed the title PHP Notice when List item block title is not set PHP Notice when Listing item block title is not set Dec 8, 2021
@brummbar brummbar added the bug Something isn't working label Apr 27, 2022
@AaronGilMartinez
Copy link
Contributor

AaronGilMartinez commented Sep 27, 2024

Closing, paragraphs modules including processing were migrated to https://github.com/openeuropa/oe_whitelabel. Paragraphs get the title value directly rather from ListInterface::first() method solved in openeuropa/oe_whitelabel#105.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants