Viewing 6 posts - 1 through 6 (of 6 total)
Author
Posts
  • #9737

    Having this in my logs at jaconelli.dk/webtrees:

    ERROR 2: uasort() expects parameter 2 to be a valid callback, class ‘top10_surnames_WT_Module’ not found; 0 Error occurred on in function uasort 1 called from line 108 of file module.php in function getWidget 2 called from line 59 of file widget-bar.php in function include_once 3 called from line 155 of file header.php in function require 4 called from line 213 of file Page.php in function pageHeader 5 called from line 32 of file edit_changes.php

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9738

    ERROR 2: uasort() expects parameter 2 to be a valid callback, class ‘top10_surnames_WT_Module’ not found;

    You have a “WT_” somewhere that should be KT_.

    The error is saying the problem is in the file /modules_v4/widget_surnames/module.php, at line 108. That should be:

    uasort($all_surnames, array('top10_surnames_KT_Module', 'top_surname_sort'));

    It is correct in the version that is downloaded with 3.3.2, so perhaps your upload failed to replace the previous version?

    If that is not the problem, let me know which site you are seeing the error on.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9739

    I had to remove everything when upgrading. I only see the error at the logs. But it is everytime im online. So I deactivated the module to avoid it. I hate errors in the logs 😛 Have not seen it after that 😛

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9740

    So the problem must be exactly as I described. Fix that file and the problem will go away.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9741

    So the problem must be exactly as I described. Fix that file and the problem will go away.

    There is no wt_ in that code and the line is excactly as you mention. It is not a problem to me since I disabled it. I do not use that module.

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9742

    If there is no WT_ in that line of that file, then that exact error cannot exist. Therefore the errors must date from before the file was updated, or there was a cache problem.

    Either way, it was unique to your site, so no further action required.

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Errors’ is closed to new replies.