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

fix: change property exists check in order to set the correct typeId / check if seoField exists in the layout to prevent null pointer exception #482

Open
wants to merge 1 commit into
base: v5-patch
Choose a base branch
from

Conversation

Anubarak
Copy link

@Anubarak Anubarak commented Jul 2, 2024

property_exists will return false for typeId param because it's a function now.
$element->typeId(x) instead of $element->typeId = x

check if seoField exists in the fieldLayout

Fixes #262

property_exists will return false for typeId param because it's a function now.

check if seoField exists in the fieldLayout
@Anubarak Anubarak changed the title change property exists check in order to set the correct typeId. fix: change property exists check in order to set the correct typeId / check if seoField exists in the layout to prevent null pointer exception Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant