Notice: Trying to access array offset on value of type null in /home/vaffancool/vaffancool.com/core/init.php on line 5
Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: preg_replace(): Compilation failed: invalid range in character class at offset 12
File: /home/vaffancool/vaffancool.com/vendor/danielstjules/stringy/src/Stringy.php
Line: 1122

Trace

#0 [internal function]: Slim\Slim::handleErrors(2, 'preg_replace():...', '/home/vaffancoo...', 1122, Array)
#1 /home/vaffancool/vaffancool.com/vendor/danielstjules/stringy/src/Stringy.php(1122): preg_replace('/[^a-zA-Z\\d\\s-_...', '', Object(Stringy\Stringy))
#2 /home/vaffancool/vaffancool.com/core/functions.php(272): Stringy\Stringy->slugify()
#3 /home/vaffancool/vaffancool.com/view/front/video.php(26): slug('Spinte', '56')
#4 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/View.php(278): require('/home/vaffancoo...')
#5 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/View.php(255): Slim\View->render('front/video.php', Array)
#6 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/View.php(243): Slim\View->fetch('front/video.php', NULL)
#7 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Slim.php(757): Slim\View->display('front/video.php')
#8 /home/vaffancool/vaffancool.com/core/controller.php(109): Slim\Slim->render('front/video.php', Array)
#9 /home/vaffancool/vaffancool.com/index.php(110): Video('1335')
#10 [internal function]: {closure}('spinte_56/barze...', '1335')
#11 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#12 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#13 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#14 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#15 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#16 /home/vaffancool/vaffancool.com/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#17 /home/vaffancool/vaffancool.com/index.php(231): Slim\Slim->run()
#18 {main}