Uncaught TypeError: window.Modernizr.prefixed is not a function

Posted in: Newspaper
Post count: 17

Hi,
I am getting the above error on my site (WP 4.3.1).
http://www.garbolino.fr/preprod/

This issue prevents the display of my plugin master slider, and my responsive menu… I think that created as a javascript conflict

It happens at line 1005 in site.js:

// normalize vendor prefixes

var doc = document.documentElement;

var transform_prop = window.Modernizr.prefixed(‘transform’),
transition_prop = window.Modernizr.prefixed(‘transition’),
transition_end = (function() {
var props = {
‘WebkitTransition’ : ‘webkitTransitionEnd’,
‘MozTransition’ : ‘transitionend’,
‘OTransition’ : ‘oTransitionEnd otransitionend’,
‘msTransition’ : ‘MSTransitionEnd’,
‘transition’ : ‘transitionend’
};
return props.hasOwnProperty(transition_prop) ? props[transition_prop] : false;
})();

Any help for the issue is highly appreciated!

Gaëtan

Post count: 22421

Hello,

Unfortunately some plugins will not work with the theme and they will interfere with the theme’s functionality. Please try to disable all your plugins except visual composer and check the console again. You can then identify the one causing the error.
Let us know how it goes!

Post count: 17

Thanks for your reply.
I will try it, but 1 week ago, everything worked. I did not install new plugin.

Post count: 7909

Hi,

I see that you use an old version of the theme, so may have issues with some plugins that may cause issues. Maybe you have updated some plugins, wordpress..
Did you tried Bogdan’s suggestion?
I also suggest to upgrade the theme and the theme’s plugins to the latest version – https://forum.tagdiv.com/how-to-update-the-theme-2/

Thanks!

Post count: 17

Hi Alin, thanks for the reply,
In fact I’d like to update the theme, but do you think this could change the entire layout of my pages?
Thanks.

Post count: 17

I tried to update my theme… It’s a disaster…
Everything has change… I can’t let this new theme. It give me too much time to put in place the same options and layouts than the previous version.
I will try to disable the plugin one by one to find the issue

Post count: 17

However, I no longer have the issue with Javascript and Modernizr (with the theme update)

Post count: 22421

Let us know how it goes!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.