Composer detected issues in your platform after upgrade to v5.9.1 - Php8.2 requirement
mrkylegp opened this issue · comments
I just upgraded to v5.9.1. I had been using Php8.1 with no issues.
When I try to visit invoiceninja, I now got:
I've installed Php8.2 and the required extensions and I'm up and running again.
The upgrade didn't check whether I was using Php 8.2.x or not, causing this issue.
I also had to update my cron job to run php8.2 artisan schedule:run >> /dev/null 2>&1 instead of php8.1.
There should be a check in place or a notice to the user that Php8.2 is now a requirement.
Whenever there is a major version change, in this case from 5.8 => 5.9 it indicates a breaking change.
We do not yet have a mechanism in place to block an upgrade.
Whenever there is a major version change, in this case from 5.8 => 5.9 it indicates a breaking change.
We do not yet have a mechanism in place to block an upgrade.
I'll keep that in mind. Maybe throwing an advisory message up would suffice for now? I simply upgraded as normal, and on the release notes page there isn't any specific warning about php requirements changing. Could trip some people up is all :)
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.