We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
echo Helpers::render( 'carousel', renderPathName: 'blocks', renderContent: $collectedRenders, renderUseComponentDefaults: true );
This triggers a fatal error because you call getComponent on a block in Helpers::render when renderUseComponentDefaults is true.
getComponent
Helpers::render
renderUseComponentDefaults
// Merge default attributes with the component attributes. if ($renderUseComponentDefaults) { $renderAttributes = Helpers::getDefaultRenderAttributes(Helpers::getComponent($renderName), $renderAttributes); }
In turn, this makes it unable to render a block while keeping defaults.
IMO this should support blocks as well? They have almost the same manifest
The text was updated successfully, but these errors were encountered:
iruzevic
No branches or pull requests
This triggers a fatal error because you call
getComponent
on a block inHelpers::render
whenrenderUseComponentDefaults
is true.In turn, this makes it unable to render a block while keeping defaults.
IMO this should support blocks as well? They have almost the same manifest
The text was updated successfully, but these errors were encountered: