SemanticMediaWiki/SemanticWatchlist

Call to a member function getCount() on a non-object

JeroenDeDauw opened this issue · 1 comments

From the SMW user list:

Hello List,

I am on two Wikis experiencing a problem with Semantic Watchlist 0.2.1 (one
wiki is MW 1.21.3 and SMW 1.8.0.5; the other ist MW 1.22.2 and SMW 1.9.0.1).

As soon as the page selection criteria is "concept" (rather than category
or namespace), no page can be saved any longer (actually it can be saved,
i.e. I can later observe that the changes have been committed, but it does
not load afterwords). The only exception is that it still works if the
relevant concept page does not exist. The problem occurs with any, even the
most simple concept query.

In one wiki the screen is just blank white, the other says "Fatal error:
Call to a member function getCount() on a non-object in
/var/www/wiki/extensions/SemanticWatchlist/includes/SWL_Group.php on line
436".

I still can normally load an access pages. The error occurs both while
saving with forms and by direct edits. Before I file a bug: Is anybody
around using semantic watchlist, who could try whether she/he can normally
save pages in the wiki while a semantic watchlist group is active that uses
an existing concept to select the articles to be watched?

Kind regards,
Hans
@Hans-Oleander

Fixed with #22