• This topic has prefixes assigned
Viewing 3 posts - 1 through 3 (of 3 total)
Author
Posts
  • #13836

    I will use this bug report for any PHP8 related issues missed during the changes released in 3.3.10.Each bug fix listed here will, when possible, have an associated zip folder containing the replacement file(s).

    1. Error message: “PHP Deprecated: uasort(): Returning bool from comparison function is deprecated“. Use the attachment “php8-1.zip”. Replace 4 files in the kiwitrees root folder: admin_module_menu.php; admin_module_sidebar.php; admin_module_tabs.php; admin_module_widgets.php
    Nigel
    My personal kiwitrees site is www.our-families.info
  • #13949

    When I check for GEDCOM errors i get the following error

    ERROR 2: Undefined array key “S0”
    0 Error occurred on line <b>157</b> of file <b>admin_trees_check.php</b>

    ERROR 2: Attempt to read property “type” on null
    0 Error occurred on line <b>157</b> of file <b>admin_trees_check.php</b>
    <p class=”result ui-state-error”><b title=”Individual”>INDI</b> <b>I7230</b> has a <b title=”Source”>SOUR</b> link to <b>S0</b>. <b>S0</b> does not exist.</p>

  • #13953

    This bug (#13949)  is confirmed. It is related to php8. I am therefore moving it to the general “php8 issues” bug report, and will incorporate the fix for it there. The particular issue this bug highlights may crop up in a number of different, though relatively rare, scenarios. Due to the number of code files potentially effected, it is not possible to provide an interim fix here for all of them.

    In general, if you follow the error message and look at the line of code described there (e.g. “Error occurred on line 157 of file admin_trees_check.php” in this first case) you will see something like : “@$records” in it. The text ‘records’ may be different, but the “@$” is the problem. It is no long valid and must be replaced. The replacement will need to be specific to each case.

    The fix for this particular case is to replace the file “admin_trees_check.php” with the one in the zip folder attached to this message.

     

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.