This seems to be coming from a different plugin – if you observe, the file svgxuse.js is in the folder http://www.bdifferent.fr/wp-content/plugins/simple-social-icons/. That is the plugin that seems to be throwing the error.
Thread Starter
xdidx
(@xdidx)
Humm, I think it’s because all HTML dom is deleted on hover, then all JS libraries throw error when trying to use it. (I tried to disable simple social icons)
But Photonic doesn’t delete any HTML DOM on hover. It is very dependent on the DOM for various activities including launching of lightboxes. Are you sure you have no other plugin with a hover effect?
Thread Starter
xdidx
(@xdidx)
You convinced me, but even when all extension (except for Photonic), it doesn’t work :/ (I don’t have any error on chrome after the DOM deletion)
I don’t understand, have you any other idea?
In all cases, thanks for your time 😉
In looking at your theme I found quite a few issues. Note that this is a paid theme, so I cannot fully validate my findings, however the theme does seem to be doing a number of things that are against recommended WordPress practices. E.g. WordPress recommends using the bundled JQuery scripts for all WP code (in fact if you submit a theme to ww.wp.xz.cn which doesn’t do this, the theme will be rejected). However the theme you are using seems to be having its own JQuery UI script bundled in (see http://www.bdifferent.fr/wp-content/themes/subway/js/plugins.js?ver=4.9.8), which will load in addition to the JQuery UI being loaded via plugin using standard methods. It seems to be doing something similar for the MediaElement script.
But it is hard for me to say which of those is causing a conflict – it might be that Photonic uses standard functionality for something, which is being overridden by custom functionality for your theme.
I am guessing you paid for the theme (but Photonic is free!), and letting go of your theme is an issue. So let’s start with some usual suspects. You can try tweaking some settings of Photonic. Try these individually and then some of their combinations:
- Go to Photonic → Settings → Flickr → Photos (Main Page) → Photo Title Display, and pick the first option. See if it fixes things.
- Try using a different layout. Instead of the Random Justified Grid try the regular square layout and see if it makes a difference.
Thread Starter
xdidx
(@xdidx)
Your first solution works nicely.
You have been nice and helpful, thanks you very much ! 🙂