Help me plz: Cannot redeclare build_spoiler()

Started by t2hol, March 26, 2015, 09:09:44 PM

Previous topic - Next topic

t2hol

Hello
I tried install two spoiler MOD to see which one is better and now I get error:

Fatal error: Cannot redeclare build_spoiler() (previously declared in /home/ktolorg/public_html/kiemtien.club/Sources/Subs.php:848) in /home/ktolorg/public_html/kiemtien.club/Sources/Subs.php on line 1007

Can't open site and can't access to admin area now. How to manual remove the MOD to active site again ?

Thanks
http://www.wpse.net [nofollow]

margarett

You have a function declared twice.

Get your file Sources/Subs.php and find a line "function build_spoiler"
You will see the function. Now look below, you'll see the same function again. Just delete one of the instances ;)

PS: and this is why you should *always* backup before you mess with MODs ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

It means that you double installed a mod...   There is a chance that there is more duplicated. Ode than just the one generating the error.. You will have to manually remove ALL of the duplicated code
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: