Critical error on wp-login reigstration page

I’m deploying to WP Engine and have many Sage 10 sites running there.

I’m deploying a Sage 11 site and I’m getting critical errors when visiting the wp user registration page: /wp-login.php?action=register

If I run composer dump on the server this error goes away.

If I run wp acorn view:cache this error returns.

I’ve run other wp acorn commands like optmize:clear and others, but I’m not able to resolve the error.

Error: https://gist.githubusercontent.com/joseph-farruggio/ebd5b2be17501069224f6b37de67c640/raw/1c9bf76d648cad41e2268f944d4f12ddf94b72b2/php%2520error

How can I continue troubleshooting?

Try changing Acorn’s storage path to WP Engine’s temp path like you did on Sage 10:

Application::configure()
+   ->withPaths(storage: '/path/to/tmp')
    ->withProviders([
        App\Providers\ThemeServiceProvider::class,
    ])
    ->boot();
1 Like