vesta-webtrees-2-custom-modules / vesta_extended_relationships

⚶ Vesta Extended Relationships (Webtrees 2 Custom Module)
https://cissee.de/
GNU General Public License v3.0
11 stars 4 forks source link

php 8.3 , surnames with patriarchs #124

Closed arbor95 closed 9 months ago

arbor95 commented 10 months ago

nach Umstellung auf php 8.3 kommt: after switching to php 8.3 comes:

array_sum(): Addition is not supported on type Cissee\Webtrees\Module\ExtendedRelationships\SurnameWithPatriarch …/modules_v4/vesta_extended_relationships/resources/views/lists/surnames-table-with-patriarchs.phtml:119

zurück auf 8.2 ist wieder OK. back to 8.2 is OK again.

See: https://wiki.php.net/rfc/saner-array-sum-product

ric2016 commented 10 months ago

Even with php 8.2, the code doesn't make any sense: There is no effect when trying to order by that column. I have disabled the ordering altogether.

ric2016 commented 9 months ago

Also occurs here:

array_sum(): Addition is not supported on type Cissee\Webtrees\Module\ExtendedRelationships\SurnameWithPatriarch …/modules_v4/vesta_extended_relationships/IndividualListModule_2_1_16.php:413

ric2016 commented 9 months ago

Also fixed in commit for #126.