Jump to content

Fatal error: Cannot redeclare problem


denewman

Recommended Posts

I am getting the following error trying to login to my wordpress backoffice.

 

Fatal error: Cannot redeclare iis7_supports_permalinks() (previously declared in /home/denewman/public_html/KoodayOnline.com/wp-includes/functions.php:3476) in /home/denewman/public_html/KoodayOnline.com/wp-admin/includes/misc.php on line 403

 

Searching online it appears there is a conflict where there should be a require_once function or something of that sort. There is even a post on this board that talks about it at http://www.phpfreaks.com/tutorial/defining-a-php-function-only-once

Since I have never actually dealt with this code before I am not sure where I need to put it for this error.

Basically I need help.

 

I have attached the code in two notepad files.

 

Would appreciate any help I can get

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/228899-fatal-error-cannot-redeclare-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.