The error you describe happens when:

(1) You do not use the latest MediaWiki 1.10alpha
AND
(2) you did not apply the old patch to ./includes/Parser.php

To fix it, edit your Parser.php and insert the line

wfRunHooks( 'InternalParseBeforeLinks', array( &$this, &$text ) );

right after the line $text = $this->replaceVariables( $text, $args ); in the 
method internalParse().

-- Markus


On Thursday 19 April 2007 17:58, Lionel Brits wrote:
> Version?
>
> Paul Targett wrote:
> > Hi,
> >
> > I have installed the semantic wiki extensions on the latest version of
> > MediaWiki and I get the following error when ever I add or edit content.
> >
> >
> > Call to a member function getSubject() on a non-object in
> > /var/www/XXX.XXX.com/extensions/SemanticMediaWiki/includes/SMW_Factbox.ph
> >p
> >
> > Is there a know solution to this problem?
> >
> > Many thanks,
> >
> > Paul.
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Semediawiki-user mailing list
> > Semediawiki-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user

-- 
Markus Krötzsch
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
[EMAIL PROTECTED]        phone +49 (0)721 608 7362
www.aifb.uni-karlsruhe.de/WBS/     fax +49 (0)721 693  717

Attachment: pgp26yfl9Koli.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to