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

All custom blocks disappeard on 3.2.1 #293

Closed
maxleistner opened this issue Dec 19, 2024 · 7 comments · Fixed by #294
Closed

All custom blocks disappeard on 3.2.1 #293

maxleistner opened this issue Dec 19, 2024 · 7 comments · Fixed by #294

Comments

@maxleistner
Copy link

Ugrading from 3.2.0 to 3.2.1 leads to an unknown error which removes all custom blocks from the sidebar.
Can you confirm?

v3.2.0...v3.2.1

@Log1x
Copy link
Owner

Log1x commented Dec 19, 2024

Which version of ACF Pro?

@maxleistner
Copy link
Author

Which version of ACF Pro?

6.3.11

@Log1x
Copy link
Owner

Log1x commented Dec 19, 2024

Does explicitly setting your $parent and $ancestor props to null instead of [] fix it?

@maxleistner
Copy link
Author

Does explicitly setting your $parent and $ancestor props to null instead of [] fix it?

yes it does. But default generation output is [] - so i guess everyone is using it

@Log1x
Copy link
Owner

Log1x commented Dec 19, 2024

very strange. perhaps we just dont set these at all unless they aren't empty. this was just changed in #288

@Dave-iFour
Copy link

Dave-iFour commented Dec 19, 2024

Same issue here.

We have multiple sites using acf-composer package so ideally we don't want to have to manually edit all the $parent $ancestor

@Log1x
Copy link
Owner

Log1x commented Dec 19, 2024

Pushed a release, let me know if it worked.

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 a pull request may close this issue.

3 participants