Support for Envato Buyers › Forums › DGWork › 404 and errors on Themevan assets
- This topic has 4 replies, 2 voices, and was last updated 5 years, 9 months ago by FocuxTheme Support.
-
AuthorPosts
-
-
March 17, 2019 at 1:15 pm #23468MicheleParticipant
Freshly installed DGWork downloaded 2019-MAR-16 from ThemeForest with the required plugins and child theme activated.
In the customiser, the following files are reporting 404:
* themevan-toolkit/assets/css/themevan-vc-extends.min.css (file on disk is named ‘extend’ not ‘extends’)
* themevan-toolkit/modules/options/ReduxCore/inc/extensions/customizer/extension_customizer.css (file on disk DNE, only scss file)
* {SITE URL}{DOCUMENT ROOT}/wp-content/plugins/themevan-toolkit/modules/options/ReduxCore/inc/extensions/customizer/extension_customizer.js (includes document root in the URL, I believe this is causing the JS interactions to fail)Also getting the following JS error in console:
`
site.min.js:556 Uncaught TypeError: $(…).hoverIntent is not a function
at HTMLLIElement.<anonymous> (site.min.js:556)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at HTMLDocument.<anonymous> (site.min.js:554)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
`
Would appreciate some assistance with getting this resolved so that proceed with configuring my site. 🙂
Thanks!
-
March 19, 2019 at 5:49 am #23483MicheleParticipant
Hi,
There’s also a typo in the pot file:
`
#: inc/edd/template-tags.php:401
msgid “Requements”
msgstr “”
`
I think that’s meant to be Requirements?
-
March 19, 2019 at 3:43 pm #23495MicheleParticipant
This is actually holding me up and I’m not sure how long before you’ll take to respond. I’m working around the 404s but this will need to be rectified upstream.
Regarding the full document root in your URLs, I see they’re being built in extension_customizer.php. In the block beginning line 83:
`
if ( empty( $this->_extension_dir ) ) {
$this->_extension_dir = apply_filters( “redux/extension/customizer/dir”, trailingslashit( str_replace( ‘\\’, ‘/’, dirname( __FILE__ ) ) ) );
$this->_extension_url = apply_filters( “redux/extension/customizer/url”, site_url( str_replace( trailingslashit( str_replace( ‘\\’, ‘/’, ABSPATH ) ), ”, $this->_extension_dir ) ) );
}
`
Is there a particular reason you are doing it this way instead of the WordPress
plugin_dir_path()
andplugin_dir_url()
methods? The reason it’s failing on my install is due to my WordPress installation being set up with https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory so the paths in the str_replace do not match. By using the WordPress plugins you’re guaranteed to have the correct paths without needing to fiddle about with them yourself. 🙂 -
March 20, 2019 at 10:26 am #23513FocuxTheme SupportKeymaster
I’m so sorry for so long delay. I’m checking these issues now and will fix soon.
-
March 20, 2019 at 10:52 am #23515FocuxTheme SupportKeymaster
Hi
I fixed the typo issue, and themevan-vc-extends.min.css 404 error, and Uncaught TypeError: $(…).hoverIntent is not a function.
Now there’s no error in customizer on my test site.
Please update the theme to 1.6.2 via Appearance, and update the themevan toolkit plugin via Plugins page.
If you still found any error, hope you can post your WP login details via the private reply, I will check it.
Thanks
-
-
AuthorPosts
- You must be logged in to reply to this topic.