When a WordPress page editor plugin is activated (WP Bakery) I get the console errors on a page using the shortcode
[civicrm component="profile" gid="14" mode="create" hijack="0"].
SyntaxError: expected expression, got '<' on line one of the dcocument
The page uses the Classic editor, not WPBakery. I've tried various plugins to disable the WP Bakery plugin on that one page, with no luck.
Disabling WP Bakery for the whole site allows the shortcodes to work; but it can't be deactivated due to client usage. I'm also trying to work with WP Bakery support.
As a result of the errors, no CiviCRM search results are returned.
No errors in any WP or CiviCRM error logs.
Going directly to the URL of the Javascipt doesn't load the script, but loads the entire page.
Is it possible to enqueue the CiviCRM script in the footer or change its load order to help troubleshoot?