Error details as follows:
Slim Application Error
The application could not run because of the following error:
Details
Type: ParseError
Message: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE)
File: /home/peter10/affiliateuni/vendor/tuupola/slim-jwt-auth/src/JwtAuthentication.php
Line: 126
Trace
#0 /home/peter10/affiliateuni/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(’/home/peter10/a…’) #1 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘Tuupola\Middlew…’) #2 /home/peter10/affiliateuni/app/middleware.php(26): spl_autoload_call(‘Tuupola\Middlew…’) #3 /home/peter10/affiliateuni/vendor/pimple/pimple/src/Pimple/Container.php(118): {closure}(Object(Slim\Container)) #4 /home/peter10/affiliateuni/vendor/slim/slim/Slim/Container.php(123): Pimple\Container->offsetGet(‘JwtAuthenticati…’) #5 /home/peter10/affiliateuni/vendor/slim/slim/Slim/CallableResolver.php(86): Slim\Container->get(‘JwtAuthenticati…’) #6 /home/peter10/affiliateuni/vendor/slim/slim/Slim/CallableResolver.php(67): Slim\CallableResolver->resolveCallable(‘JwtAuthenticati…’) #7 /home/peter10/affiliateuni/vendor/slim/slim/Slim/CallableResolverAwareTrait.php(45): Slim\CallableResolver->resolve(‘JwtAuthenticati…’) #8 /home/peter10/affiliateuni/vendor/slim/slim/Slim/DeferredCallable.php(36): Slim\DeferredCallable->resolveCallable(‘JwtAuthenticati…’) #9 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #10 /home/peter10/affiliateuni/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #11 /home/peter10/affiliateuni/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) #12 /home/peter10/affiliateuni/vendor/slim/slim/Slim/App.php(406): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) #13 /home/peter10/affiliateuni/vendor/slim/slim/Slim/App.php(314): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response)) #14 /home/peter10/affiliateuni/index.php(23): Slim\App->run() #15 {main}