https://bugzilla.wikimedia.org/show_bug.cgi?id=25795

           Summary: php fatal error caused by customiseSearchResultTitle
                    in hooks.php
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: LiquidThreads
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Getting a fatal error from line 226 in hooks.php:
$text = $thread->subject();
saying: "PHP Fatal error:  Call to a member function subject() on a
non-object".

You can reproduce this error by going to http://k6.juniorwiki.org. Then do a
search for "positiv". You will get a blank page. There is an article "Positiv
(Fremdwort)", and when you search for that expression, you will get the result
correctly.

What is extremely puzzling to me is that this behaviour doesn't show up with
"negativ". When you search for that, everything is fine, although there is no
article "negativ" but "Negativ (Fremdwort)" - as is the case with "positiv".

Running MW1.16, LiquidThreads 2.0-alpha

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to