invoiceninja / invoiceninja

Invoices, Expenses and Tasks built with Laravel, Flutter and React

Home Page:https://invoiceninja.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composer detected issues in your platform after upgrade to v5.9.1 - Php8.2 requirement

mrkylegp opened this issue · comments

commented

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:
image

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.

commented

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 :)

I have a selfhosted docker installed and the web doesn't show anything just a empty white page. The issue started after the update to the latest version
Screenshot 2024-06-03 at 2 50 10 PM

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.