Title: [Plugin: Social] Cannot redeclare class Social_Controller
Last modified: August 21, 2016

---

# [Plugin: Social] Cannot redeclare class Social_Controller

 *  [williamb-sc](https://wordpress.org/support/users/williamb-sc/)
 * (@williamb-sc)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-social_controller/)
 * I am getting the following error when I post to my blog through Windows Live 
   Writer or any other XML-RPC method. I am currently using version 2.9.2 of the
   Social plugin but this problem has been occurring for a while now.
 * `Fatal error: Cannot redeclare class Social_Controller in /home/mysite/public_html/
   wp-content/plugins/social/lib/social/controller.php on line 7`
 * This only seems to happen when the ‘Broadcasting is on by default’ option is 
   enabled and a Twitter account is set Social settings page that is available to
   all authors. If no account is set globally, it seems to work fine, even with 
   an account set on the author’s profile who is posting. In both cases the post
   still broadcasts but on occasions where the global account is there, the above
   error is kicked back in response to the XML-RPC post.
 * [http://wordpress.org/plugins/social/](http://wordpress.org/plugins/social/)

Viewing 1 replies (of 1 total)

 *  [Jodi-Lee](https://wordpress.org/support/users/jodi-lee/)
 * (@jodi-lee)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-social_controller/#post-4256985)
 * I’ve been getting the same error after switching to a cron job to kick wp-cron.
   php into working order, so scheduled blog posts actually post. The Social broadcast(
   Twitter only) just drops, and doesn’t post at all…
 * The mailer tells me the following after the cron job has run:
 * Fatal error: Cannot redeclare class Social_Controller in /home/mysite/public_html/
   jodilee/wp-content/plugins/social/lib/social/controller.php on line 7
 * I get the same message on all of the blogs I’m running that I am using the Social
   plugin on. It’s taken two weeks to settle the scheduled posting problem, and 
   now this… any help will be appreciated.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Social] Cannot redeclare class Social_Controller’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/social.svg)
 * [Social](https://wordpress.org/plugins/social/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social/)
 * [Active Topics](https://wordpress.org/support/plugin/social/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social/reviews/)

## Tags

 * [social](https://wordpress.org/support/topic-tag/social/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jodi-Lee](https://wordpress.org/support/users/jodi-lee/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-social_controller/#post-4256985)
 * Status: not resolved