Jump to content

Topic on Extension talk:Secure HTML

Peachey88 (Flood) (talkcontribs)

When I tried to access "Special:SecureHTMLInput" I get the following error message.

"Fatal error: Cannot redeclare wfsecurehtmlextension() in /home/wiki/public_html/w/includes/specials/SpecialSecureHTMLInput.php on line 45".

This post was posted by Peachey88 (Flood), but signed as Aramsahai.

Peachey88 (Flood) (talkcontribs)

I also get an error and have crossed checked everything.

"Fatal error: Call to a member function addMessages() on a non-object in /home/content/42/4737242/html/wiki/extensions/SecureHTML/SecureHTML.php on line 52"

Furosh (talkcontribs)

I get this error as well upgrading an pretty old version 1.8.4 and performing a Wiki move from current server to new server. Got everything running on new server but Upgrading fails with this error:

[root@wikit maintenance]# php update.php
PHP Fatal error:  Call to a member function addMessages() on a non-object in /var/www/html/mediawiki/extensions/SecureHTML.php on line 52

Were you able to resolve this? If so what did you do?

I also read http://www.mediawiki.org/wiki/Manual_talk:Upgrading#Call_to_a_member_function_addMessage.28.29_on_a_non-object_in Stating "I just commented out the lines. It was no big deal." However, I'm not exactly sure what to comment out and where... =/

Reply to "Fatal error message"