Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Now that the testbots support running PHP 7 code, lets fix all PHP 7 bugs in Panels.
Comments
Comment #2
DamienMcKennaComment #3
DamienMcKennaOf course Panels doesn't have *any* tests, so that might be the first step.
Comment #4
DamienMcKennaComment #5
DamienMcKennaPer https://www.drupal.org/pift-ci-job/355397 it seems the class constructors need to be rewritten.
Comment #6
DamienMcKennaThe class constructors have been fixed already, the module just needs a new release that includes them.
Comment #7
DamienMcKennaPostponing this until CTools is fixed.
Comment #8
hass CreditAttribution: hass commentedWhy this? Less warnings do not depend on ctools
Comment #9
DamienMcKennaI postponed this because we won't get any positive results from testbot until CTools' tests pass.
Comment #10
hass CreditAttribution: hass commentedWell, but I can install dev or next official version and than and get a lot less warnings on every page load. That does not need to wait for ctools tests.
Comment #11
dillix CreditAttribution: dillix commentedI installed latest dev of ctools, but I've got these errors in panels:
Comment #12
MustangGB CreditAttribution: MustangGB commented@dillix: Use the latest dev of Panels then, this was fixed in #2557061: deprecated constructor in PHP 7.
Comment #13
dillix CreditAttribution: dillix commentedMay be its time to make new release before D 7.50 released?
Comment #14
DamienMcKennaNow that CTools 7.x-1.10 is out with the PHP 7 fixes, we can get back to work on this!
Comment #15
maximpodorov CreditAttribution: maximpodorov commentedAre there Panels specific problems or the new release of CTools fixes everything?
Comment #16
TrevorBradley CreditAttribution: TrevorBradley commented@maximpodorov: As best I can tell, the Panels problems were fixed in the dev version, and then an urgent security fix for Panels was deployed and the PHP7 compatibility came along with them.
Comment #17
DamienMcKennaWe'll know more when we start adding tests (#2808983: Add tests to Panels) and japerry enables automated testing.