-
Notifications
You must be signed in to change notification settings - Fork 343
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
When I update PHP to 7.4. Slim reports an error. #278
Comments
Sounds like there is some work to do to upgrade to a newer version of slim that works with PHP7.4. For now you'll have to use PHP 7.3 or lower. |
Correct, I've already degraded PHP to 7.3. (7.4 discards too many functions) |
you can mitigate the problem by removing deprecation from error reporting. |
thx |
@glensc what's the current blockers for upgrading Slim? Looking at the PRs from what I can see it's a test failure but I'm not super familiar with xhgui internals |
Having to use an older version of php in our environments just to have xhgui running properly, is a huge problem for us. When should we expect an update? |
if it's huge problem, why don't you do something about it, rather than complaining? it's not helping anyone, only showing your attitude that somebody must do something for you just like that? however, you have several options:
you can contribute back and test the development branch and report what's missing/broken. I will not promise anything, I'm doing all of this in my free time. |
@glensc first of all, I cannot speak in the name of everyone here but as far as I'm concern let me clarify I'm totally respecting both the work you are putting into this project as well as your free time. I'm sorry if I offended you but this was certainly not my intention. We have our ways to bypass this limitation, but this doesn't stop it from being a huge problem. The only reason I asked here was to show you that there are people out there needing this upgrade to PHP 7.4 and we will be happy to see it sometime in the future. I'm seeing an active effort for landing so I thought there might be a plan. Again, I know how important free time is, and putting into a project that makes other people's work lives easier, makes it even more important. Thank you. |
Hi all. At first thank you for developing this very nice and usefull tool! We need to use it with PHP8. But because it seems quite difficult to upgrade to the current slim release, we just replaced the missing May this be a way to get it working (just for now) on PHP8? |
Use docker image, then doesn't affect what PHP version you use otherwise. |
Unfortunately this is not possible because our whole application is already shipped in a docker container. Is there anything open except the ci problems in #333? |
if you're deploying xhgui (the gui part) in the same container as the application, you are doing it wrong. in the application container should only use the collector library that submits to xhgui: See the docs: |
You are right, I think. First thing i figured out is the different handling of request and response in Slim3. So I edited the ImportTest to work with the new requests. Please, can you enable the ci pipeline for this? |
please explain. |
I opened PR #440, where I edited the tests and some controllers, because the tests did'nt run locally. But the PR says "6 workflows awaiting approval". |
Approved in #440, next time explain what "this" is, or just ask in the "this" itself. also, you don't need to harass CI, to see PHPUnit test failures, run the tests locally. |
Sorry for the inconvenience. I asked for this, because last time I had to deal with an error that happened only on CI on github. Thank you very much! |
#333 CI passes now. please test the application itself too. |
Flash messages don't work. Error in apache error log is Additionally I changed TwigExtension to allow to run xhgui in a subdir in #450 |
Rework flash messages in PR #451 . |
Thank you very much! |
The text was updated successfully, but these errors were encountered: