This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by srdjan 1 year ago.

Assigned support staff: srdjan.

Author Posts
October 8, 2018 at 12:34 pm

erikB-21

I am trying to:
load javascript and style assets but without success using Dokan. Seams like the same thread has been opend but no solution published (see: https://wpml.org/forums/topic/error-loading-javascript-and-style/)

Link to a page where the issue can be seen:
hidden link
right click on the page and inspect page and see console.

October 8, 2018 at 12:58 pm #2796053

srdjan
Supporter

Hello Erik,
plugin "Dokan WPML" is loading non-existing scripts and styles.

Since plugin is not updated for 2 years, you can disable loading
by commenting out line #66 like this:
wp-content/plugins/dokan-wpml/dokan-wpml.php #66

//add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );

Also you can report issue to WeDevs (team that developed plugin) here:
https://wordpress.org/support/plugin/dokan-wpml
hidden link

This issue won't create additional impact, except that error will be reported in console.