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.
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!
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 5 years, 5 months ago by
Safronik.
Hello @safronik
Awesome, this solved my problem. Thank you for all your assistance.
Happy Holidays!
Thank you for feedback.
We are glad to hear the issue is solved.
Best regards.