• Resolved divinemagazine

    (@queertownabbey)


    I have found a conflict between your plugin and S2Framework https://www.jreviews.com/wordpress

    Contacted our host for help and here is the reply from them

    I have tried to solve the issue but both plugins “S2Framework” and “Security by CleanTalk” are using the “array_merge” function with different parameters and in a different workflow.

    At one time we can only use one of the plugins from these two. I have disabled “Security by CleanTalk” for now because “S2Framework” takes part in the reviews page functionality and other functionality of the site.

    Kind regards,
    Anders

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support katereji

    (@katereji)

    Hello, Anders.
    Could you please clarify what this conflict is about?
    Please, ask your hoster why he mentioned this PHP function? It’s a regular function and there is nothing special about it: https://www.php.net/manual/en/function.array-merge.php
    Be well.

    Thread Starter divinemagazine

    (@queertownabbey)

    Thanks for the fast reply @katereji

    When Security by CleanTalk plugin and the S2Framework plugin is activated at the same time it’s causing a fatal error and the site is going down. I’m also getting your Site is Experiencing a Technical Issue email

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 530 of the file /nas/content/live/divinemagaz/wp-content/plugins/s2framework/s2framework/basics.php. Error message: Cannot redeclare array_insert() (previously declared in /nas/content/live/divinemagaz/wp-content/plugins/security-malware-firewall/lib/spbc-php-patch.php:142)

    WordPress version 5.5.3
    Current theme: Bimber Child Theme (version 1.0)
    Current plugin: S2Framework (version 3.7.6)
    PHP version 7.4.13

    Hope this info helps!

    Plugin Support amagsumov

    (@amagsumov)

    Thank you for info, @queertownabbey

    We’ll investigate it and contact you within 1-2 days.

    Hello,

    Have fixed it already. Please, reinstall the plugin from here: https://github.com/CleanTalk/security-malware-firewall/releases/download/dev-version/security-malware-firewall.zip

    You can use this instruction:
    1. Go to WordPress Administrator Panel —> Plugins.
    2. Find the plugin “Security & Malware scan by CleanTalk” —> Deactivate.
    3. After the automatic page refresh find the plugin again “Security & Malware scan by CleanTalk” —> Delete. Confirm “Yes, delete these files”.
    4. Download the plugin archive from the link above.
    5. Go to Plugins —> Add New —> Upload Plugin.
    6. Choose the downloaded archive and press “Install Now”.

    The situation happened because developers from S2Framework didn’t check the function before declare it.
    And eventually they will get new conflicts if they continue do it this way.

    They should use prefix or such construct if(!function_exists('array_insert')){ function array_insert() }

    Thank you for the feedback! Contact us if you have any questions.

    • This reply was modified 3 years, 11 months ago by Safronik.
    Thread Starter divinemagazine

    (@queertownabbey)

    Hello @safronik

    Awesome, this solved my problem. Thank you for all your assistance.

    Happy Holidays!

    Plugin Support amagsumov

    (@amagsumov)

    Thank you for feedback.

    We are glad to hear the issue is solved.

    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin conflict’ is closed to new replies.