Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error Joomla #2847

Closed
jkplacek222 opened this issue Aug 10, 2021 · 1 comment
Closed

fatal error Joomla #2847

jkplacek222 opened this issue Aug 10, 2021 · 1 comment
Milestone

Comments

@jkplacek222
Copy link

Hello, I have fatal error in my website. I have Joomla 3.9.28 and PHP 7.4. I dont know why I have this

Fatal error: Uncaught RuntimeException: Could not find resource 'whoops.css' in any resource paths.(searched: /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/../Resources) in /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php:636 Stack trace: #0 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(193): Whoops\Handler\PrettyPageHandler->getResource('whoops.css') #1 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\PrettyPageHandler->handle(Object(Whoops\Exception\ErrorException)) #2 /libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php(132): Whoops\Run->handleException(Object(Whoops\Exception\ErrorException)) #3 [internal function]: Gantry\Component\Whoops\SystemFacade->handleException(Object(Whoops\Exception\ErrorException)) #4 {main} thrown in /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php on line 636

Fatal error: Uncaught RuntimeException: Could not find resource 'whoops.css' in any resource paths.(searched: /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/../Resources) in /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php:636 Stack trace: #0 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(193): Whoops\Handler\PrettyPageHandler->getResource('whoops.css') #1 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\PrettyPageHandler->handle(Object(Whoops\Exception\ErrorException)) #2 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php(403): Whoops\Run->handleException(Object(Whoops\Exception\ErrorException)) #3 /libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php(433): Whoops\Run->handleError(1, 'Uncaught Runtim...', '/libraries/gant...', 636) #4 /libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php(155): Whoops\Run->handleShutdown() #5 [internal function]: Gantry\Component\Whoops\SystemFacade->handleShutdown() in /libraries/gantry5/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php on line 636

@jkplacek222 jkplacek222 changed the title fatal error fatal error Joomla Aug 10, 2021
@mahagr mahagr added the joomla label Aug 18, 2021
@mahagr
Copy link
Member

mahagr commented Aug 18, 2021

It should be looking at that file from /libraries/gantry5/assets/css folder. Do you have some other component that is also using Whoops?

You can likely work around the issue by copying the file from my location into /libraries/gantry5/vendor/filp/whoops/src/Whoops/Resources, but the fix needs to be applied every time you update Gantry.

mahagr added a commit that referenced this issue Sep 10, 2021
@mahagr mahagr added fixed and removed question labels Sep 10, 2021
@mahagr mahagr added this to the 5.5.0 milestone Sep 10, 2021
@mahagr mahagr closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants