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

Error on configure and node create form if content type cloned using content_type_clone #17

Closed
yorkshire-pudding opened this issue Nov 28, 2023 · 0 comments · Fixed by #18
Assignees
Labels

Comments

@yorkshire-pudding
Copy link
Collaborator

yorkshire-pudding commented Nov 28, 2023

This is similar to #12 - it seems the Content Type Clone does not invoke the hook_node_type_insert() module when creating the clone but hook_node_type_update().

Steps to reproduce

  1. Install Content Type Clone
  2. Clone a content type
  3. Click configure

Expected result
Configure form loads

Actual result

Error
Error messageTypeError: array_filter(): Argument #1 ($array) must be of type array, null given in array_filter() (line 85 of /app/docroot/modules/contrib/simplify/simplify.module).Dismissarray_filter(): Argument #1 ($array) must be of type array, null given

Additional step
Go back and attempt to create a new node of that type

Expected result
Node form loads

Actual result

Error messageTypeError: array_filter(): Argument #1 ($array) must be of type array, null given in array_filter() (line 250 of /app/docroot/modules/contrib/simplify/simplify.module).Dismissarray_filter(): Argument #1 ($array) must be of type array, null given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant