daragh
Forum Replies Created
-
It seems that the issue is with WordPress 4.5 and above tightening up on jQuery….. so I’m in the process of updating the theme.
Just in case it’s helpful for others – here’s a post from the author of the theme we’re using re jQuery problems with WP 4.5 and above:
I’ve been reading this post about how the update to jQuery 1.2:
https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=7
Specifically:
It has been discovered that old versions of jQuery worked with an incorrect syntax. That bug was one amongst many bugs fixed in jQuery 1.12. The symptom of this problem is the following message (or something very similar) in the Javascript console when viewing the site in a browser:
Uncaught Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])It has been discovered that old versions of jQuery worked with an incorrect syntax. That bug was one amongst many bugs fixed in jQuery 1.12. The symptom of this problem is the following message (or something very similar) in the Javascript console when viewing the site in a browser:
Uncaught Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])I’m wondering is a (not ideal / temporary) fix to get WP to load an older version of jQuery, OR can I edit a file somewhere (in the jQuery library) that might address this?
Very lost…
Ok,
Can confirm switching theme to 2016 has fixed the issue. Which I guess leaves me completely stumped….. I’m not in a position to bugcheck an entire theme 🙁
Thanks for your help in any case – I do appreciate it.
Ok,
I did previously de-activate all plugins, and that didn’t help.
Curiously, the site owners have deleted all themes except the brightbox one. I might re-add 2016 on my test server and see if that fixes things.
Thanks for having a look. Will update soon.
If you need the wp admin details I can provide those – but would prefer not to put here even if this version is just a copy on my test server.
That said – I don’t mean to imply that I’m expecting that you have the time for that – again, many thanks for having a quick look.
Hi Josh,
THe URL is:
http://cai-may-2016.infomantest.com/
I’ve user / password protection on it as follows:
User: josh
Pass: hIk9-10Thanks so much for having a look – it has me utterly beaten..
Anyone any feedback on this?
Thanks in advance…
Forum: Fixing WordPress
In reply to: Session variables not being kept through page reload.Horrible hack / [kind of] fix.
If I open my process.php page as an IFRAME it seems to be processed outside of the WP loop – and the session variables work fine.
Surely there is a better way?
If anyone has any ideas on there being a better forum to post this to please let me know.
Forum: Fixing WordPress
In reply to: Session variables not being kept through page reload.Actually,
One other strange point. If I go to my page that is outside of WP that generates the session first:
http://[mysite]/content/wp-content/themes/rira/process.php
Then the WP page has no problem with the seesion – i.e. it doesn’t get destroyed…
http://[mysite]/content/?page_id=74
Very strange. Desperate for a solution – will post one myself if I figure it out.