HELP!! Any wordpress experts?

weBay

Senior Member
Joined
Oct 12, 2010
Messages
810
Reaction score
285
NOOOOOOOOOOOOOO!!!!!!!!!!!

I messed around with the functions PHP of my wordpress theme using the instrucitons here:

http://geekeemedia.com/wordpress/add-a-custom-url-to-your-wordpress-gallery-images/

now I just get this error message

Fatal error: Cannot redeclare gallery_shortcode() (previously declared in etc etc

I cant use my blog or do anything!

Can anyone help?? I would appreciate it SO much!!

AHHHHH!!!!!!!!!

weBay
 
Use a FTP client or your host's cPanel file manager to replace the code in functions.php with original one.
 
If you have downloaded your theme to your computer just re-up the functions.php with your ftp client.
 
That's about it, just re upload the Function.php of the theme. In the meantime you could simply put up a different theme until you get that one restored.
 
sorted now PHEEEEEW!

thought that was 3 days work down the pan.

note to self: backup everything!
 
made a rollback is not the best way sometimes, especially when something has been modified.

Fatal error: Cannot redeclare gallery_shortcode() (previously declared in etc etc

if you got another error like that, just see the "etc etc" section and you will see where are these functions being called in both files, then, comment or delete it in one of them.

xD!
 
Back
Top