You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. To solve this problem, try installing this plugin jet-fix-framework-url.zip. If the problem persists, please contact our support team at https://crocoblock.com/help-center/ for instructions on how to solve this problem (and mention that I was directed by you and refer to this problem).
The Jet Elements Dashboard fails to instantiate on some hosts because the JS it depends on can't load.
This is similar to #831 but the bug is actually present in the plugin code - not a dependency.
In
plugins/jet-elements/includes/module/loader.php
- functioninclude_modules()
This
$url = str_replace( '\\', '/', str_replace( untrailingslashit( ABSPATH ), esc_url( site_url() ), $dir ) );
should be changed to
$url = str_replace( '\\', '/', str_replace( plugin_dir_path( $dir ), plugin_dir_url( $dir ), $dir ) );
in order to ensure the JS loads properly.
Specifically this handles when WP is located in a subdirectory like "www" on some common WP hosts.
The text was updated successfully, but these errors were encountered: