[28-Mar-2019 16:03:11 UTC] UnexpectedValueException: This project does not exist. in /src/App/Projects/Model/ProjectModel.php:76
Stack trace:
#0 /src/JTracker/Application.php(495): App\Projects\Model\ProjectModel->getByAlias('wp-login.php')
#1 /src/JTracker/Application.php(337): JTracker\Application->getProject()
#2 /src/JTracker/Application.php(315): JTracker\Application->setUser(NULL)
#3 /src/JTracker/Service/RendererProvider.php(119): JTracker\Application->getUser()
#4 /vendor/joomla/di/src/Container.php(457): JTracker\Service\RendererProvider->JTracker\Service\{closure}(Object(Joomla\DI\Container))
#5 /src/JTracker/Service/RendererProvider.php(57): Joomla\DI\Container->get('twig.environmen...')
#6 /vendor/joomla/di/src/Container.php(457): JTracker\Service\RendererProvider->JTracker\Service\{closure}(Object(Joomla\DI\Container))
#7 /src/JTracker/Application.php(721): Joomla\DI\Container->get('Joomla\\Renderer...')
#8 /src/JTracker/Application.php(222): JTracker\Application->renderException(Object(UnexpectedValueException))
#9 /vendor/joomla/application/src/AbstractWebApplication.php(194): JTracker\Application->doExecute()
#10 /src/JTracker/Kernel.php(84): Joomla\Application\AbstractWebApplication->execute()
#11 /www/index.php(36): JTracker\Kernel->run()
#12 /www/index.php(52): {closure}()
#13 {main}
Just triggered it - do we have a stack trace for the error page failing?
SSH to the server and check the log files. Or I’ll look when I get time.
On Tue, Mar 10, 2020 at 7:33 AM George Wilson notifications@github.com
wrote:
Just triggered it - do we have a stack trace for the error page failing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joomla/jissues/issues/1057?email_source=notifications&email_token=AACZ7INTMPHG6BM6PSKEN5TRGYXSJA5CNFSM4HD5KQQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLHAFY#issuecomment-597061655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZ7IIDJFYZ3JYYJTBZYV3RGYXSJANCNFSM4HD5KQQQ
.
--
[10-Mar-2020 14:05:00 UTC] UnexpectedValueException: This project does not exist. in /src/App/Projects/Model/ProjectModel.php:76
Stack trace:
#0 /src/JTracker/Application.php(454): App\Projects\Model\ProjectModel->getByAlias('wp-login.php')
#1 /src/JTracker/Application.php(296): JTracker\Application->getProject()
#2 /src/JTracker/Application.php(274): JTracker\Application->setUser(NULL)
#3 /src/JTracker/Service/RendererProvider.php(121): JTracker\Application->getUser()
#4 /vendor/joomla/di/src/ContainerResource.php(176): JTracker\Service\RendererProvider->JTracker\Service\{closure}(Object(Joomla\DI\Container))
#5 /vendor/joomla/di/src/Container.php(96): Joomla\DI\ContainerResource->getInstance()
#6 /src/JTracker/Service/RendererProvider.php(61): Joomla\DI\Container->get('twig.environmen...')
#7 /vendor/joomla/di/src/ContainerResource.php(176): JTracker\Service\RendererProvider->JTracker\Service\{closure}(Object(Joomla\DI\Container))
#8 /vendor/joomla/di/src/Container.php(96): Joomla\DI\ContainerResource->getInstance()
#9 /src/JTracker/Service/DispatcherProvider.php(88): Joomla\DI\Container->get('renderer.twig')
#10 /vendor/joomla/di/src/ContainerResource.php(176): JTracker\Service\DispatcherProvider->JTracker\Service\{closure}(Object(Joomla\DI\Container))
#11 /vendor/joomla/di/src/Container.php(96): Joomla\DI\ContainerResource->getInstance()
#12 /vendor/joomla/event/src/LazyServiceEventListener.php(95): Joomla\DI\Container->get('event.subscribe...')
#13 /vendor/joomla/event/src/Dispatcher.php(495): Joomla\Event\LazyServiceEventListener->__invoke(Object(Joomla\Application\Event\ApplicationErrorEvent))
#14 /vendor/joomla/application/src/AbstractApplication.php(94): Joomla\Event\Dispatcher->dispatch('application.err...', Object(Joomla\Application\Event\ApplicationErrorEvent))
#15 /vendor/joomla/application/src/AbstractWebApplication.php(267): Joomla\Application\AbstractApplication->dispatchEvent('application.err...', Object(Joomla\Application\Event\ApplicationErrorEvent))
#16 /src/JTracker/Kernel.php(84): Joomla\Application\AbstractWebApplication->execute()
#17 /www/index.php(36): JTracker\Kernel->run()
#18 /www/index.php(52): {closure}()
#19 {main}
That's the last stack trace I got when I hit the WP admin URL. Looks like the problem is setting the timezone offset Twig global ends up trying to load the active project from the session, and if you direct access that URL without a previous session you're going to fatal out (because if you go into the app as normal and get a session started then visit that URL you get the normal error page).
TBH, for a while I've wanted to find a way to decouple project from session because it feels like an architectural anomaly, but, ya know, time and resources being what they are.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-12 11:13:22 |
Closed_By | ⇒ | wilsonge |
Comes from URL https://issues.joomla.org/tracker/wp-login.php (e.g)