Hi all customer,
In this topic tutorial we’ll help you resolve if have issues when install & using AutomateWoo with our themes, plugins.
Here is the product page of AutomateWoo plugin:
AutomateWoo
The error may happen when you create a Workflow.
Please go to wp-content/plugins/haru-teespace/core/libraries/cmb2-conditionals/ then open file cmb2-conditionals.php (you can change haru-teespace if you are using other themes like haru-pricom,…)
(You can use WP File Manager plugin to edit file or go to Plugins -> Plugin File Editor or anyway to manage your files)
Go to line 132 and change code from:
if ( $enqueue_script ) {
wp_enqueue_script(
'cmb2-conditionals',
$script_src,
array( 'jquery', 'cmb2-scripts' ),
self::VERSION,
true
);
}
to
if ( $enqueue_script ) {
$get_current_screen = get_current_screen();
if ( $get_current_screen && $get_current_screen->post_type != 'aw_workflow' ) {
wp_enqueue_script(
'cmb2-conditionals',
$script_src,
array( 'jquery', 'cmb2-scripts' ),
self::VERSION,
true
);
}
}
Hope this helps!
****
Regards,
HaruTheme
-
This topic was modified 1 month ago by
admin.
-
This topic was modified 1 month ago by
admin.