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.
Related Posts:
- How to create custom message on plugin update
- wp_dequeue_style not working
- Stop a plugin in the activation process when a certain WP version is not met then show error message in admin_notices action hook
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to Add an Index to Plugin Database table
- How to add “Stick this post to the front page” to front end?
- Creating two database tables via plugin
- Is it a good idea to edit an already existing plugin to add more functionality?
- How to allow HTML tags into WP Bakery (formerly Visual Composer) `textfield` parameter
- How to make media upload private? [duplicate]
- How to trace the cause of these PHP notices and warnings for class-wp-query.php?
- What are good plugins for beginners? [closed]
- Modify featured image URL at runtime
- Some plugins adding full server path after url (with custom wp-content folder)
- Custom Widget outputs the input but doesn’t save anything inside the textarea
- Is it possible to block subscriber users to changing its password?
- debugging register_activation_hook()
- How to unregister a widget from a child theme
- wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs
- Why load_textdomain work but not load_plugin_textdomain?
- Get uploaded image url
- Passing select control value to block
- How to add custom JS to tinymce in wordpress
- Collaborative post submission [closed]
- What are ideal hooks to call register_sidebars?
- WordPress is giving errors after activating WP_DEBUG
- plugins_url function mixes system path and URL
- The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use
- Wondering what these multi-colored extra pages are?
- Facebook Like needs confirmation?
- How does automatic redirection for the redirection plugin work?
- Avoid class name collision when using third party libraries in plugins?
- Plugin custom post type – Internal server Error
- Remove ALL css for a specific plugin page
- Is WP feature image function cropping images? WP Content Slideshow
- Linux Permissions and Ownership for WordPress
- Plugin development: Buggy plugin preview
- Procedural Question on Plugin Installation
- Render custom php template into string
- allow photo/video in comments
- Excluding private/protected posts via IP
- Can’t get Gutenberg InspectorControls to work
- Some one is trying to hack my website, Need guidance [closed]
- Choose which plugin to run based on user?
- Mass SQL WordPress Meta Key deletion
- Gathering and logging data from a plugin: how to do it without race conditions?
- order posts by `meta_key`, Does not display posts that does not have `meta_key`
- How do I make a secure API call from a shortcode when a button is clicked?
- How to change the wp_upload_dir() path in plugin
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- How to add options to the plugin page?
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- How can I redirect some pages to new subdomain? [closed]
- wp-mail attachment is not sent for no reason?
- how to execute some code after a post is published in WordPress [duplicate]
- I can’t change permalink in WordPress 4.5.3
- Could not add ‘LoginLogout’ link using BAW login logout plugin
- Create a link which allows visitors to disable a plugin?
- login in wordpress using gmail account
- CSS/JS files in WordPress
- How to automatically activate users after registration without activation email?
- Pass PHP variable to javascript
- create pages automatically and dynamically in wordPress
- How to authenticate via API to allow writes/updates
- WordPress rewrite rule depend on meta values not ids
- Problem with wordpress has_action() function
- WordPress – WPBakery – Near Footer jump issue
- Dequeue Table of Content font
- Display Woocommerce attribute name above product title
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- Why activated plugin does not appearing in left side menu bar of WordPress admin area?
- My WordPress admin Lost All admin option, roles & privileges?
- Flexslider empty slide
- get_permalink is causing a whitescreen
- WordPress plugin changes not updating
- Adding javascript to header of MetroMagazine theme
- How to Save settings of custom tab product page in admin side in a database?
- Issue: CSV file upload works only when “View page source” is done
- Meta box: Undefined index
- Unable to Retrieve Setting Value for my Plugin
- How to delete user meta by key
- galleria for WordPress not working properly on Mobile devices (responsive)?
- Get plugin versions in xml/json format
- Shortcode registered from a plugin not recognized
- Remove ‘Publish to Facebook’ checkbox for Facebook page publish plugin
- Make a wordpress site similar to Hot Or Not – Image rating system [closed]
- How to submit readme.txt file in wordpress directory
- wordpress shortcode A executing code from shortcode B
- Plugin for Reading Documents, PDF’s etc
- How to create plugin list groups?
- WordPress Code Access to Restricted Content without Registration
- How to pre-set WordPress settings for specific posts?
- Two sites one PC
- PHP if url extension action=discussion condition use [closed]
- How can I make my plugin detect if a certain theme is active?
- How to get URL param for pagination in shortcode?
- How to add an active state class to my info box
- Using ACF to allow user to add and edit multiple saved forms
- Difficult case to solve – Select + select = result(related data)
- How to disable display all posts from all categories?