Hi,
I’m not sure when this conflict started as I have had both ACF Pro (via Intense shortcodes) and Fresh Custom Code plugins working together for some time (2years+).
An ACF Pro update has triggered a script name conflict within Fresh Custom Code which prevents the admin user from accessing the FCC script setting page “run on page url” drop-down field. Thereby preventing us from choosing “which page” the Fresh Custom Code script should run on.
When the FCC admin form loads you quickly see the “Page name” menu field element appear and then its gone at end “on-load”. The select menu flashes at super wide width (which isn’t normal) and then vanishes, so you cannot choose a page or change any existing URL set.
The browser developer console points to:
’…/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0’.
Error showing as “The select2(‘destroy’) method was called on an element that is not using Select2.”
So my guess is a conflict in an ACF function name and order of JS file inheritance.
I have lodged the issue with Freshface (developer) who is unresponsive. The plugin operates okay but administering and adding new scripts is hampered by this conflict.
Turning off ACF Pro restores FCC plugin to normal operation.
Any ideas on how to stop this?
FCC link: Fresh Custom code plugin