ACF Pro and Essential Grid Conflict

Hi,

I am using the latest version of ACF Pro (5.12.3) and Essential Grid (3.0.16) with WordPress 6.0.2.

When I go to “Media” tab, there is a pop-up error - Failed to initialize plugin: essgrid_sc_button

I can close this notice and everything still works ok but everytime I go to Media, this error pops-up.

The cosole error shows -

tinymce.min.js:2 
    
   Failed to initialize plugin: essgrid_sc_button ReferenceError: ESG_LANG is not defined
at new <anonymous> (shortcode.min.js?wp-mce-49110-20201110:1:19594)
at Ew (tinymce.min.js:2:330473)
at Array.<anonymous> (tinymce.min.js:2:332223)
at Object.jt [as each] (tinymce.min.js:2:29356)
at Aw (tinymce.min.js:2:332173)
at tN.<anonymous> (tinymce.min.js:2:333551)
at Array.<anonymous> (tinymce.min.js:2:96969)
at jt (tinymce.min.js:2:29356)
at u (tinymce.min.js:2:96914)
at n (tinymce.min.js:2:96402)

And the shortcode.min.js line refers to -
“undefined” != typeof tinymce && tinymce.PluginManager.add(“essgrid_sc_button”, function(e, s) {
e.addButton(“essgrid_sc_button”, {
title: ESG_LANG.essential_grid_shortcode_creator,
icon: “icon dashicons-screenoptions”,
onclick: function() {
var e = void 0 !== tinymce.activeEditor && void 0 !== tinymce.activeEditor.selection ? tinymce.activeEditor.selection.getContent() : “”;
ESG.SC.openBlockSettings({
editor: “tinyMCE”,
shortcode: e
})
}
})
})


If I deactivate ACF Pro, there is no error/warning displayed.

Is there something you can help with? I have reached out to Essential Grid creators and they have asked to refer to you as the plugin is bundled with theme.

Any help is much appreciated.

Hey @dshakya,

Thanks for reaching out!

I was able to replicate the issue on my development website. I’ll report this issue in our tracker so that our developer will be aware of this issue.

In the meantime, I suspect both plugins’ functionality is still functional; just ignore it while our developers check on the said issue.

Cheers!

I am glad that you were ablt to replicate the issue and is now logged. Thanks for looking into it and hopefully will be fixed in the next release. Till then - I will just ignore the issue.

Thanks again.

Hey @dshakya,

You’re welcome! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.