Notice: Undefined index: path in /var/www/html/remote/classes/Router/Router.php on line 176

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/var/www/html/remote/classes/Router/Router.php" at line 176. in /var/www/html/remote/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145 Stack trace: #0 /var/www/html/remote/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /var/www/html/remote/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /var/www/html/remote/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\Component\HttpFoundation\Session\Session->getBag('attributes') #3 /var/www/html/remote/vendor/symfony/http-foundation/Session/Session.php(77): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag() #4 /var/www/html/remote/classes/Curl/CurlClass.php(134): Symfony\Component\HttpFoundation\Session\ in /var/www/html/remote/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 145