StoutLogic / acf-builder

An Advanced Custom Field Configuration Builder
GNU General Public License v2.0
790 stars 61 forks source link

ACF Builder fails silently - Sage 10 #170

Open fraserpage opened 1 year ago

fraserpage commented 1 year ago

I'm using ACF Builder along with ACF Composer in Sage 10. When I do something ACF Builder doesn't like - say a syntax error - ACF Builder just fails silently without triggering a Symfony Exception. Is there something I need to do to get error reporting from ACF Builder? Help much appreciated. I love this tool.

Log1x commented 1 year ago

This is a question for the ACF Composer repo - but assuming you're on the latest Acorn v3 and you updated your bootloader in functions.php, you should have error reporting already.

fraserpage commented 1 year ago

Thanks very much for the reply @Log1x (and for all the work you do in the community!). I was on Acorn 2. After upgrading it I now get an exception, though it's just Skipping provider [Log1x\AcfComposer\Providers\AcfComposerServiceProvider] because it encountered an error [Exception]. with no insight into what went wrong in ACF Composer. Is that expected?

Log1x commented 1 year ago

You should find the cause further down the error stack. Make sure you have Ignition installed.

fraserpage commented 1 year ago

Thanks @Log1x. This is what I get if I do anything wrong in a FieldsBuilder object. Is that what you'd expect to see? I'd love to have a line or even file reference to help hunt down the error.

image