-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
PHP 7.3 compatibility #1020
Comments
I can confirm problems with partkeepr under Archlinux with the PHP version 7.3.1. I do not know if it is essentially the incompatible version but I had partkeepr installed some time now and I get regular problems with it recently since 6th of January. I updated PHP on Jan 2nd. So it could be related. |
Symfony 2.x is simply unmantained, so keep fingers crossed on porting to 3.x (someone told in another issue that it's in the progress). |
(ref #1021 (comment)) |
Hi @adlerweb! How's your attempt to upgrade PartKeepr to Symphony 4 is folding out? I noticed you have merged several pending PR and you solved some issues... :-) |
I only copied the patches already written by others into a merged repo to get a baseline, no code added by me so far. I guess you are referring to my tweets about PartKeepr, so just let me clarify: I don't have enough knowledge of Symfony 4 or the techniques used here to port PK itself - I never worked with Symfony before, a large chunk of the libraries used seem to be abandoned and PK is far from a simple to understand project. I started "working" on some code for my personal use about a month ago since it's getting harder to keep systems with older PHP-versions running and the current GUI never really worked for me (ancient MDE barcode terminals). For now I got S4 to play somewhat nicely with the existing database structure and added a basic, independent GUI to get a basic subset of PKs features working. There are still some bugs due to changes inside Symfony which tend to corrupt the DB (thus no code online yet), but I think that should be solvable. But as said: No full S4 upgrade here, sorry. |
This issue addresses two distinguished but related topics:
The afforetement is duplicated in #1065. I will close this issue as a duplicate. |
Duplicate of #1065 |
@christianlupus, you closed this as a duplicate of #1065, which talks about the monolog-bundle package being out of date, but I can't quite see how this particular warning about I found a backtrace for the actual error (by adding These fixes are included in zend-stdlib 3.2.1, which is a new major version, so I'm fearful that updating to that version might bring incompatible changes rather than just this fix. Also, zend does not seem to be a direct dependency, but pulled in by I tried fixing just this one error in ArrayObject, but then ran into further problems in zend-code, so I gave up that path. I then tried updating some dependencies, to the latest versions (within limits specified in composer.json), hoping that this would pull in a new enough zend version. I ran:
But then ran into out-of-memory errors on my server (it's a bit of an old one) and gave up... In case anyone does manage to fix this, I'm happy to get my partkeepr working again :-) |
I hope you are having a backup of your data... Otherwise now would be a very good point in time to think of such things as backups. The problem is that we are completely outdated and it does not make sense to update a single dependency. In fact, this is our most pressing issue at the moment. Unfortunately, there is no easy way to do this magically. but we are on our way. What message did you get regarding the memory problem? Did your servers OOM (out-of-memory-killer) kill PHP or was it simply the message of php that only 1.5GB (?) are exhausted? The latter can be overcome on the command line by setting the env variable |
Yeah, I guess. Wanted to share my experience in case it was useful, but probably is not :-P
I think it was a friendly message, but I don't recall exactly. I'll keep that variable in mind, but won't be trying this again (since, as you said, it's probably not going to be sufficient anyway). |
When trying to set up current master (8a6380e) on Arch Linux using PHP 7.3.1 the composer setup fails with the following message:
This seems to be related to a syntax deprecation in PHP 7.3 affecting the version of Sensio Distribution Bundle. Also other libraries used seem to be affected (quick look showed doctrine/orm 2.5)
Until all affected dependencies have been fixed upstream and updated over here or replaced would suggest adding a note to README and state 7.3 as incompatible.
The text was updated successfully, but these errors were encountered: