kwdit:
[06-May-2022 04:59:52 UTC] PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function array_except() in D:\laragon\www\kwd-it-22\public\content\uploads\cache\d8f65d37e4de77ddc1f389b4c9cc0da144a1548a.php:2
Stack trace:
#0 D:\laragon\www\kwd-it-22\public\content\themes\kwd-custom\vendor\illuminate\view\Engines\PhpEngine.php(43): include()
#1 D:\laragon\www\kwd-it-22\public\content\themes\kwd-custom\vendor\illuminate\view\Engines\CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('D:\\laragon\\www\\...', Array)
#2 D:\laragon\www\kwd-it-22\public\content\themes\kwd-custom\vendor\illuminate\view\View.php(142): Illuminate\View\Engines\CompilerEngine->get('D:\\laragon\\www\\...', Array)
By the way: This runtime error indicates that the illuminate\view
expects an older laravel release. The array_except
method was removed from the laravel/framework
package (moved to laravel/helpers
) .
As the error is caused inside a cached (rendered) blade view (uploaded with the site), you may want to try to clean the Blade cache folder to regenerate those cached/rendered Blade view PHP files and see whether this fixes you problem:
Deleting the upload/cache directory wipes out all your cached blades, which will cause them to be re-rendered. This can take a couple minutes (they seem to get kind of…cached somewhere else?) but it will work.
If you deleted the cache folder a while ago, and you’re still seeing issues, I’d guess one of the following is happening:
The error you were trying to correct in your templates is still there.
If this site is on a live server, the files may still be cached elsewhere (by the server, depe…
With some luck this should fix the runtime issue.