• Resolved rseigel

    (@rseigel)


    Anything and everything that uses Ajax is broken.

    Divi theme…tabs module doesn’t work – fullwidth slider background video won’t load.

    EventON events won’t open.

    Google Maps Easy maps won’t load on front end.

    One site that’s screwed:

    https://marshallsdogrescue.com/

    and

    https://marshallsdogrescue.com/event-directory/

    This is not a plugin or a theme issue. This is definitely a WordPress issue.

    UpdraftPlus tanked as well (looks like a separate issue) so the backup I created JUST BEFORE I updated WP is screwed as well.

    A little help please…..

    I can’t switch to another theme to test (that’s a Divi issue – that will never change due to how Divi works unfortunately).

Viewing 15 replies - 1 through 15 (of 37 total)
  • I’m almost certain this isn’t an issue specifically with WordPress, or that it’s WordPresses fault. One of your theme’s or plugins scripts is using an expression like:

    a[href*=#]:not([href=#])

    If you can disable plugins and see if it goes back to normal you know it’s a plugin. Otherwise, contact the theme developer ( they usually have support ) to see if they can fix the issue.

    All the same issues, all see Divi related. Did you try to delete a section or row in the page builder? Doesn’t work for me either.

    I bought my theme through a reseller, waiting for their response. If you get some information from ET please let us know here

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Howdy_McGee is correct: This is an issue with jQuery that a lot of people are finding today.

    Basically, old versions of jQuery worked with an incorrect syntax. That bug was one amongst many bugs fixed in jQuery 1.12, which was released back in January: https://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/

    WordPress 4.5 includes the latest version of jQuery, as per usual procedure. What a lot of people are finding out now is that a whole lot of javascript code out there was doing-it-wrong all this time, and they never noticed because jQuery incorrectly worked with that particular style of broken code. Once WordPress upgraded, and people got the new jQuery, people are now seeing those bugs in their own code.

    So, all that broken javascript code will need to be fixed. Fortunately, it’s a pretty simple fix, but in the meantime, it’s still broken. So the best advice we can give you is to update all your plugins and themes to the latest versions by their vendors. If the theme or plugin author is on top of their game, then they’re updating the versions of the various JS code they use to get newer ones which have these bugs fixed. Thus, the fixes will trickle down from the library authors to the plugin/theme authors to the users of those plugins and themes.

    Ok, found a temporary fix, mainly through this post:
    https://stackoverflow.com/questions/28782415/resolve-javascript-conflict-with-parent-theme-on-wordpress-child-theme

    What I did now is change the following in the file js/custom.js:

    delete the whole function starting with $( ‘a[href*=#]:not([href=#])’ ).click( function() {

    I know, this should be done properly, but I needed a quick fix and it seems to be working for me at the moment!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Yep. The error is in the Divi theme.

    /wp-content/themes/Divi/js/custom.js

    Line 706. Change this:

    $( 'a[href*=#]:not([href=#])' ).click( function() {

    To this:

    $( 'a[href*="#"]:not([href="#"])' ).click( function() {

    The addition of the quote marks should fix the problem.

    It’s NOT Divi related! I’ve been reading comments all day. Everyone that uses Divi no longer has a functional site since the 4.5 update.

    Is there a way to revert back to 4.4, or to optimize DIVI theme somehow, in order to work with 4.5?

    Moderator Marius L. J.

    (@clorith)

    @milivojac
    You can use the code fix that Otto posted above which should leviate the Divi issue at least (disclaimer: many plugins have the same issue)

    Thanks to Samuel Wood, works like a charm, at least on the frontend issues.

    I still have backend problems with the page builder though:
    Uncaught TypeError: Cannot read property ‘model’ of undefined
    Referring to builder.js, follwoing line of code:
    if ( view[‘model’][‘attributes’][‘parent’] === parent_id ) {

    @samuel

    Thanks a lot man! It worked! Let me check if I have that backend issue like @chridi.

    It doesn’t want to delete sections from page builder in Divi.

    Thread Starter rseigel

    (@rseigel)

    My apologies to the WP team. I jumped to conclusions that were clearly unfounded.

    I applied the above fix and the things that I know of that weren’t working are fine again.

    I’m REALLY pissed at ET for using sloppy code in the first place. They should offer a free upgrade for those of us that aren’t currently paid-up members. This is clearly their fault.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    This is clearly their fault.

    I wouldn’t break out the pitchforks and torches just yet. They’re not solely at fault on this one. A whole lot of various javascript libraries are breaking all over the web today over this particular jQuery change. ??

    Hey all,

    The error you are referring to (a[href*=#]:not([href=#])) was fixed in Divi pre WP 4.5. Just make sure you are using the latest version of Divi. We always keep it updated to make sure it’s compatible with the latest version of WP and the included JS libraries.

    rseigel makes a good point: “I’m REALLY pissed at ET for using sloppy code in the first place. They should offer a free upgrade for those of us that aren’t currently paid-up members. This is clearly their fault.”

    The Elegant Themes rep somehow didn’t actually answer the question, that’s how you can know it’s really them.

    WHAT ABOUT CUSTOMERS WHO PREVIOUSLY PAID FOR YOUR DIVI PRODUCT? Could you include a link to the patch for those customers … maybe it is in the blog post you should have published? I missed it somehow and had to spend another hour+ of searching for ET fixes, it is like old times again.

    BTW: “Just make sure you are using the latest version of Divi” is the kind of Orwellian marketer-teflon speak that has helped cause such deep revulsion among former customers who have come to know Elegant Themes too well.

    @elegant Themes Theme is okay, fix is easy, but what about Divi page builder that doesn’t respond when you click on X (when you try to delete a section)?

    It works perfectly with previous wordpress version, and now it kinda works, but I can’t delete section. I was forced to disable it on PC, tablet and mobile in order to hide the section.

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘4.5 Breaks Everything Ajax’ is closed to new replies.