MWDelaney / sage-acf-wp-blocks

Composer library for generating ACF Gutenberg blocks from templates. Intended for use with Roots/Sage (http://roots.io)
346 stars 66 forks source link

"Cannot end a section without first starting one" in v0.7 (Sage9) #60

Closed tombroucke closed 1 year ago

tombroucke commented 3 years ago

When a PHP error is encountered in a block, the specific error is not displayed, instead a "Cannot end a section without first starting one" error is shown. This makes debugging very difficult.

Line 202 > 207 should be replaced with the code in my pull request #54.

A temporary fix is to downgrade this package to v0.6 and applying the fix I mentioned in #52