Critical error when disabling WP_DEBUG in Roots Sage 10

It does beg the question if errors like these shouldn’t be easier to debug somehow.

1 Like

Try this:

wp acorn optimize:clear --allow-root
wp acorn package:discover --allow-root
wp acorn config:clear --allow-root
wp acorn view:clear --allow-root

Wowie zowie - thank goodness for this thread.

Can confirm @folbert 's method of adding dd($e); to the acorn source files got me on the right track for finding the class that wasn’t being loaded correctly.

1 Like