Roots Discourse

No errors display in Sage 10

Hi all,

I’m having trouble getting errors to display in Sage 10.

I either get a blank white screen or no errors whatsoever.

For e.g.:

“undefined variable” errors do not display.

a typo in an @include() will result in a blank white screen.

WP_DEBUG is set to true

Any ideas, please?

Thanks in advance,
Sam

Are you using Bedrock? is WP_ENV set to development?

No I’m using Laragon as a local server.

Thing is, with Sage 9, I just set WP_DEBUG to true and it’s good to go.

Maybe since I’m not using Bedrock, I need to set the environment variable somewhere else?

Thank you so much for your reply!

Try plopping define('WP_ENV', 'development') in wp-config.php

Still no luck :confused:

I’ll give Bedrock a shot and see how things go; I don’t want to take up too much of your time.

Thanks for your kind help. I really appreciate it.

This topic was automatically closed after 42 days. New replies are no longer allowed.