Error in the paths of one of the plugins when changing the plugin directory

Question

I decided to change the standard path to the plugins folder. Now all my plugins are located in site.com/modules

In wp-config I have the following written:

define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/modules' );
define( 'WP_PLUGIN_URL', 'https://example.com/modules' );
define( 'PLUGINDIR', dirname(__FILE__) . '/modules' );

In the end, everything works, but plugin JetEngine in the console gives 404 errors on cx-vue-ui.js and vue.min.js.

The fact is that the new path to the folder with plugins is duplicated for some reason and looks like this:

//example.com/var/www/data/www/example.com/modules/jet-engine/framework/vue-ui/assets/js/cx-vue-ui.js
//example.com/var/www/data/www/example.com/modules/jet-engine/framework/vue-ui/assets/js/vue.min.js

I was looking for a solution to the problem and thought that something was wrong with my settings, but what is strange, everything works in the admin panel, except jetengine.

Did I do everything right? An error in the plugin or did I do something wrong?

0
Sergey Pervushin 4 months 0 Answers 9 views 0

Leave an answer