It’s a problem with dokan plugin.
Adding the code below to your “functions.php” (in your theme directory) will solve the problem temporarily (I hope they fix this conflict in the newer versions):
function dk_shortcode_script($shortcodes){
define('DOKAN_SHORTCODES', $shortcodes);
?>
<script>
var dokan_assets_url = <?php echo json_encode( DOKAN_PRO_PLUGIN_ASSEST ) ?>;
var dokan_shortcodes = <?php echo json_encode( DOKAN_SHORTCODES ) ?>;
</script>
<?php
return $shortcodes;
}
add_filter('dokan_button_shortcodes', 'dk_shortcode_script', 10, 1);
add_action('admin_head', 'dk_shortcode_script');
the code was written by Ahamed Arshad (@achchu93) in the plugin support forum.