Fatal error: Cannot redeclare str_slug() (previously declared in /home/forge/sznyt.pl/vendor/illuminate/support/helpers.php:713) in /home/forge/sznyt.pl/theme/includes/Classes/SubPage.php on line 2

Fatal error: Uncaught BadMethodCallException: Method [send] does not exist on view. in /home/forge/sznyt.pl/vendor/illuminate/view/View.php:392 Stack trace: #0 /home/forge/sznyt.pl/vendor/laravel/lumen-framework/src/Application.php(408): Illuminate\View\View->__call('send', Array) #1 /home/forge/sznyt.pl/vendor/laravel/lumen-framework/src/Application.php(347): Laravel\Lumen\Application->handleUncaughtException(Object(Symfony\Component\Debug\Exception\FatalErrorException)) #2 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\{closure}() #3 {main} thrown in /home/forge/sznyt.pl/vendor/illuminate/view/View.php on line 392