Why sometimes CI4 crashes after a composer update? |
Sometimes while working with some app I have seen that there is debugging exception found. What really happens there in the vendor directory?
I’ve never experienced this. Could you share the exact error message? That would be helpful in tracking down the underlying issue.
(04-30-2021, 03:25 PM)MGatner Wrote: I’ve never experienced this. Could you share the exact error message? That would be helpful in tracking down the underlying issue.PHP Fatal error: Uncaught ErrorException: Undefined variable: view File in /home/ci/vendor/codeigniter4/framework/system/Debug/Exceptions.php:281
Looks like you are missing some of the error view files. However, we should have a better fallback in place for this. There is no “else” for if the files aren’t found :
PHP Code: // Check if the view exists I think this would be an easy fix. Would you submit a bugfix on GutHub? In the meantime, look in your app/Views/errors folders and make sure you have all the same files that are in the repo/download. |
Welcome Guest, Not a member yet? Register Sign In |