Search Forums
Forums
Kiwitrees on Twitter
    Tags

    slideshow, survey, getClientIp, permissions, CREM, Advanced search, I18N, 2.0, logs, server, Fancy imagebar, Export/Import, privacy, 3.3.1, reports, 7.1, BURI, family, 3.2.1, image, My Page, family facts, illegitimate, .mo, PHP, research, defacto, tab, Favourites 3.0.0, ID facts, statistics, abbreviate, edit, translate, Require visitor authentication, REFN, admin, 3.1.1, clippings cart, style, ckeditor, prefix, GEDCOM errors, seo, husband, default individual, blank screem, not married, gettext, logout, googlemap. modified, css, widget, IE11, library, dead, research tasks, hover, github, Themes change

    Topic:   Errors  

    This topic contains 5 replies, has 2 voices, and was last updated by kiwi kiwi 3 months, 2 weeks ago.

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

      jacoline
      Participant

      456 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9738
      kiwi
      kiwi
      Keymaster

      1643 posts

      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

      jacoline
      Participant

      456 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9740
      kiwi
      kiwi
      Keymaster

      1643 posts

      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

      jacoline
      Participant

      456 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9742
      kiwi
      kiwi
      Keymaster

      1643 posts

      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)

    You must be logged in to reply to this topic.