Hi, thanks for getting back to me, I had a look in the application log and found the following -
[2024-03-29 15:00:05] development.ERROR: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “App\your_action_hook” not found or invalid function name (View: /Applications/MAMP/htdocs/bancmedia/web/app/themes/bancmedia-theme/resources/views/layouts/app.blade.php) (View: /Applications/MAMP/htdocs/bancmedia/web/app/themes/bancmedia-theme/resources/views/layouts/app.blade.php) {“userId”:1,“exception”:"[object] (Illuminate\View\ViewException(code: 0): call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "App\your_action_hook" not found or invalid function name (View: /Applications/MAMP/htdocs/bancmedia/web/app/themes/bancmedia-theme/resources/views/layouts/app.blade.php) (View: /Applications/MAMP/htdocs/bancmedia/web/app/themes/bancmedia-theme/resources/views/layouts/app.blade.php) at /Applications/MAMP/htdocs/bancmedia/web/wp/wp-includes/class-wp-hook.php:324)
[stacktrace] #0 /Applications/MAMP/htdocs/bancmedia/vendor/illuminate/view/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\View\ViewException), 1) #1 /Applications/MAMP/htdocs/bancmedia/vendor/illuminate/view/Engines/CompilerEngine.php(72): Illuminate\View\Engines\PhpEngine->evaluatePath(‘/Applications/M…’, Array) #2 /Applications/MAMP/htdocs/bancmedia/vendor/illuminate/view/View.php(207): Illuminate\View\Engines\CompilerEngine->get(‘/Applications/M…’, Array) #3 /Applications/MAMP/htdocs/bancmedia/vendor/illuminate/view/View.php(190): Illuminate\View\View->getContents() #4 /Applications/MAMP/htdocs/bancmedia/vendor/illuminate/view/View.php(159): Illuminate\View\View->renderContents() #5 /Applications/MAMP/htdocs/bancmedia/web/app/themes/bancmedia-theme/index.php(3): Illuminate\View\View->render() #6 /Applications/MAMP/htdocs/bancmedia/web/wp/wp-includes/template-loader.php(106): include(‘/Applications/M…’) #7 /Applications/MAMP/htdocs/bancmedia/web/wp/wp-blog-header.php(19): require_once(‘/Applications/M…’) #8 /Applications/MAMP/htdocs/bancmedia/web/index.php(7): require(‘/Applications/M…’) #9 {main}
I changed the .env to development but no joy I’m afraid, still on the white screen.
Are you using a function “App\your_action_hook” in your app.blade.php view? I would start by searching your files for “your_action_hook”. It seems like you might have left something in there that was intended to be renamed.
Have you tried clearing your view cache? web/app/cache/acorn/framework/views. Try deleting that directory just in case something is cached that shouldn’t be
I deleted the views folder from web/app/cache/acorn/framework/views but I’m still getting a wsod I’m afraid.
Is there a way to check I’ve got rid of the bug on local first, even though it loads up? I tried clearing out the application.log but it seems to automatically fill up again.