Title: Fatal error
Last modified: January 3, 2019

---

# Fatal error

 *  Resolved [helpmeifellandcantgetup](https://wordpress.org/support/users/acaspring/)
 * (@acaspring)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/)
 * Fatal error: Cannot redeclare class OCDI_Plugin in /home/mcgilvrey/public_html/
   mywebsite.com/wp-content/plugins/one-click-demo-import/one-click-demo-import.
   php on line 21
 * I’m getting this error when I attempt to activate this plugin. Please advise,
   thank you and Happy New Year!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3095%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [ekaboom](https://wordpress.org/support/users/ekaboom/)
 * (@ekaboom)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/#post-11048436)
 * Have you tried activating the plugin with a different theme?
 * Sounds like your theme is trying to do the same thing as the OCDI plugin so it
   may be a conflict with the theme and plugin together.
 *  Thread Starter [helpmeifellandcantgetup](https://wordpress.org/support/users/acaspring/)
 * (@acaspring)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/#post-11051147)
 * This plugin came as a required install for the theme and I’ve installed this 
   theme before using all the recommended plugins without issues. Thank you for 
   your time. I’ll try to use this in a different theme and see if there is a different
   outcome.
 *  Thread Starter [helpmeifellandcantgetup](https://wordpress.org/support/users/acaspring/)
 * (@acaspring)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/#post-11054446)
 * I can’t use this plugin with another theme because this is a demo content importer
   plugin. I’m hoping there is a quick fix to making this work so please, anyone
   with suggestions I would be so grateful.
 *  [ekaboom](https://wordpress.org/support/users/ekaboom/)
 * (@ekaboom)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/#post-11065829)
 * Hi,
 * I understand that you need the theme to import the demo data, but does the plugin
   activate if you change to a different theme or are you getting the same error
   when you activate the plugin? The only question is if the plugin activates with
   a different theme.
 * If this plugin will activate with another theme, then the issue is with your 
   theme developer, not the plugin. The theme developer needs to modify how their
   theme interacts with the plugin. There’s no feasible way for the plugin developer
   to make sure their plugins work with every theme and it’s really up to the theme
   developers to make sure their theme code is compatible with the plugin.
 * If you really want to verify if it’s the plugin or theme, you can use the twenty
   seventeen theme and then manually install demo content to test to see if it installs
   using this plugin on your hosting. If it doesn’t import the content under those
   conditions, there may be an issue with the plugin and your hosting.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ekaboom](https://wordpress.org/support/users/ekaboom/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3095/#post-11065829)
 * Status: resolved