• Resolved Jejoi

    (@ejoi8)


    Hi there,

    I have my current wordpress site at “xxx.com” then, I want to duplicate the current wordpress site inside the current directory “xxx.com/dev” for development purpose.

    The duplication process was working fine but I’ve got below error.

    Fatal error: Cannot declare class Swift_Performance, because the name is already in use in /public_html/dev/wp-content/plugins/swift-performance/performance.php on line 12

    Then I try to remove the swift-performance folder from the “xxx.com/dev/” plugin folder and everything works as it should be.

    I noticed that swift plugins cause this kind of errors. How can I solve this?

    note:
    public_html – current live wordpress directory
    public_html/dev – development wordpress directory

    • This topic was modified 5 years, 7 months ago by Jejoi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Most likely you need to uninstall Swift from dev installation and have a clean / new Swift installation.

    Plugin Contributor Fred

    (@fredawd)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read our faq before open a new request.

    Thanks for understanding!

    This error is caused by the swift must-use plugin. It’s enough to delete the swift must-use plugin from the folder wp-content/mu-plugins.

    In the recent version of the Swift plugin, this error should be fixed already.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error – duplicate wordpress’ is closed to new replies.