Last modified: 2013-04-22 16:16:12 UTC
SemanticForms 2.5.2 alpha SemanticMediaWiki 1.8 MediaWiki 1.19.2
Hi - are you seeing this error with a call to the #autoedit parser function, or from a regular form? And can you provide more details on where you saw this error, in either case?
Hi, It turns up when I run the runJobs.php. None of my regular forms work at the moment. There is a full stop when I save any form. The full error message is: <b>Catchable fatal error</b>: Argument 1 passed to Article::__construct() must be an instance of Title, null given, called in /var/www/userhome/kantti/sites/kantti.kapsi.fi/www/w/mediawiki/extensions/SemanticForms/includes/SF_ParserFunctions.php on line 570 and defined in <b>/var/www/userhome/kantti/sites/kantti.kapsi.fi/www/w/mediawiki/includes/Article.php</b> on line <b>72</b><br />
Okay. Could you try upgrading your Semantic Forms code to the latest on Git, if it's not at the latest already? It could be that this problem was fixed in the last few days.
Okay, I upgraded now, and the problem with saving the forms has now disappeared. I still get the error message from the runJobs.php, though. I'm very grateful for the help!
Okay - well, that's half good news. :) I'm assigning this to f.trott, who knows that part of the code.
Hi Antti, this is a really strange bug, don't know wjhat to make of it. Do any of your form generated pages include autoedit links? And if they do, could it be that they point to an invalid target page? Cheers, Stephan
Might be fixed in If6c31541
(In reply to comment #7) > Might be fixed in If6c31541 Merged by Yaron Koren on the 4th. Is it?
Antti: Did comment 7 fix this problem?
Yes it did, thank you!