- πΈπ°Slovakia poker10
I think the D7 patch is correct, as the next function where the
$language
parameter is send (pathauto_pattern_load_by_entity()
) has the same default value. So the default value on this place can be ommitted.
On PHP 8, I get the following error:
PHP Deprecated: Optional parameter $language declared before required parameter $expected is implicitly treated as a required parameter in /var/www/drupal/sites/all/modules/contrib/pathauto/pathauto.test on line 112
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think the D7 patch is correct, as the next function where the $language
parameter is send (pathauto_pattern_load_by_entity()
) has the same default value. So the default value on this place can be ommitted.