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

           Summary: No interaction with newly opened discussion thread
           Product: MediaWiki extensions
           Version: any
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: LiquidThreads
        AssignedTo: agarr...@wikimedia.org
        ReportedBy: flor...@familie-helm.de


I'm using the actual version of LiquidThreads (Revision 62532) on Mediawiki
1.15. This bug strikes me as similar to one DaSch has filed before but his bug
report was closed as fixed. Sorry to say it isn't ;).

After starting a new thread (directly after a fresh LiquidThreads installation)
on an previously empty discussion page any action regarding this new thread
(edit, answer, delete) brings up the following two errors:

1.: in /*mywiki*/\extensions\LiquidThreads\classes\LqtHistoricalThread.php on
line 27 PHP Fatal error: Call to a member function id() on a non-object

2.: in /*mywiki*/\extensions\LiquidThreads\classes\LqtHistoricalThread.php on
line 46

This problem can be solved by applying the solution Janek provided on your
Extension talk page:

    * Comment out lines 215 and 216 in LqtBaseView.php
    * Replace $t->replies with $this->replies in
classes/LqtHistoricalThread.php
    * Insert

      if (!$tmt) { return; }

      in the same file after line 42
    * Insert

      if (!$thread) { return; }

      in classes/LqtThread.php after line 106

Of course I'd very much prefer to stay with the original code, but as I'm not
into php there's no other choice right now.

Anyway, thanks a lot for LiquidThreads - my users love it!
Regards, Florian

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to