• 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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    (@acaspring)

    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

    (@acaspring)

    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.

    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.