The entire error I recieved was: Fatal error: Cannot redeclare tc_post() (previously declared in www/wp-content/plugins/text-control.php:20) in www/wp-content/plugins/text-control/text-control.php on line 33

When upgrading the WordPress plugin text-control I was getting this error when trying to activate text-control. I ended up remembering that the markdown.php had not worked on initial installation so I replaced it with the markdown.php from the WordPress plugin PHP Markdown Extra which resolved my initial issue.

The text-control plugin did not have an update but it thought it did because the version number of the markdown.php file was incorrect. Anyhow the above error appears to have been caused by the fact that during the attempted auto upgrade it created a sub directory under text-control by the name of text-control which technically had the files needed by text-control.php in the wrong place. To resolve the issue I moved the four files named textile1.php, textile2.php, smartypants.php, and markdown.php up one directory and removed any other files (including text-control.php) besides the four previously listed from wp-content/plugins/text-control/.

Tags: , , , , ,
2 Responses to “Fatal error: Cannot redeclare tc_post()”
  1. Rhoda says:

    Excellent post however , I was wanting to know if you could write a litte more on
    this topic? I’d be very thankful if you could elaborate a little bit further. Cheers!

    My website: [](http : //sfs DOT dyjh DOT tc DOT edu DOT tw/~dyjh/mediawiki/index.php/User:AutumnITW “”)


  2. Ahmad says:

    Ahaa, its nice dialogue about this post here at this webpage,
    I have read all that, so now me also commenting here.

    my website; [tao of badass](%url% “tao of badass”)


Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.