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.
Problem/Motivation
This fixes two problems with PHP 7
* PHP 7 fatals when a method has two identical arguments. And we accidentally ended up with that in one place.
* The line in Sql.php is interpreted differerently in PHP 7, it tries to access the static property static::$info, apparently $this::$info is now a valid syntax for that?
Thought that creating two issues for one-line fixes for PHP 7 was a bit too much...
Proposed resolution
Fix them :)
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | php7-fatal-errors-2465009-1.patch | 1.79 KB | Berdir |
Comments
Comment #1
BerdirComment #2
almaudoh CreditAttribution: almaudoh commentedThese look like sane fixes, even for php 5.4
Comment #3
Fabianx CreditAttribution: Fabianx commentedRTBC + 1
Comment #4
alexpottCommitted 9fdbd39 and pushed to 8.0.x. Thanks!