Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor vokiel

    (@vokiel)

    Hi,

    What is the error that the plugins is showing?

    Thread Starter omarhk

    (@omarhk)

    please login here:

    [redacted: please do not post login credentials on these forums]

    Plugin Contributor vokiel

    (@vokiel)

    Looks like one of the plugins is re-declaring the _WP_Editors class or is including the built-in manually. Then CKEditor is loaded an you get name conflict (as class is already defined).

    It’s hard to check the exact cause of this using only WP admin panel, as it requires to open editor for every plugin and every php file. As you got them quite a lot better way would be to search within files on server (or on local copy of all plugins).

    Thread Starter omarhk

    (@omarhk)

    I tried, I can’t figure it out!

    Plugin Contributor vokiel

    (@vokiel)

    Your credentials are visible to anyone! Please moderate it.

    And they don’t work for me.

    Thread Starter omarhk

    (@omarhk)

    Vokiel

    Can i have your email please.

    I will mail you.

    Omar

    Thread Starter omarhk

    (@omarhk)

    ok

    Plugin Contributor vokiel

    (@vokiel)

    [hidden]

    Plugin Contributor vokiel

    (@vokiel)

    Found it, as wrote before, one plugin was directly including the _WP_Editors class files.

    It is WPBakery Visual Composer
    file: js_composer/include/classes/editors/class-vc-frontend-editor.php
    line: 573

    I see two options here.
    1. Write to the WPBakery Visual Composer plugin author to add a check, which would test if CKEditor is enabled and require its file instead of the default WP one.
    2. Modify this plugin on your own, then create PR for the WPBakery Visual Composer ??

    Plugin Contributor vokiel

    (@vokiel)

    Thread Starter omarhk

    (@omarhk)

    Yes

    I have removed credentials!

    Omar

    Thread Starter omarhk

    (@omarhk)

    Vokiel

    Even if I de-activate WP Bakery Visual Bakery.

    The problem still remains!

    Plugin Contributor vokiel

    (@vokiel)

    I assume you would need to remove it instead of just deactivating.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cannot redeclare class _WP_Editors (CK Editor)’ is closed to new replies.