Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mysterious Undefined Error with BuddyPress + Divi


  • terranova23
    Participant

    @terranova23

    Hi there,

    I’m trying to help a client improve their website’s performance, and one of the main issues we’re looking into is a lot of calls to a page that ends in /undefined. Specifically I see an error in the console: “Failed to load resource: the server responded with a status of 404 (Not Found)” and next to this is the undefined URL. It doesn’t say exactly what resource fails to load.

    The site is https://www.themysticdreamacademy.com/ and it is using WP 5.5.1 and BuddyPress 6.3.0.

    We are using the Divi theme, BuddyPress, and a variety of other plugins. At first I thought it was a Divi issue as this only appears on pages with the Divi builder. However they advised me to test with the site in safe mode (disabling all plugins) and that removes the error. So it’s not a pure Divi issue. I narrowed it down to BuddyPress. If the site is running Divi as a theme and only BuddyPress is active, the error appears. If I switch to a basic WP theme, it goes away. So it appears to be some interaction between Divi and BuddyPress causing this issue.

    Naturally, Divi support tells me they can’t help me with any issues regarding external plugins. And I expect to hear the opposite here, that I can’t get support with external themes. But I am really hoping someone can provide some insight, or at least point me in the direction of what I should look for to solve this issue between BuddyPress and Divi.

    Thanks so much for any help anyone can provide!

Viewing 4 replies - 1 through 4 (of 4 total)

  • VibeThemes
    Participant

    @vibethemes

    Please share more details where exactly to check the “failed”. I checked your site and it loads fine. To avoid any inconsistent issues from appearing :

    a. Try re-saving permalinks at WP admin – Settings – Permalinks.
    b. Try re-saving Components at WP admin – Settings – BuddyPress – Components.


    terranova23
    Participant

    @terranova23

    Hi there,

    I re-saved the permalinks and BuddyPress components as recommended but I still see the error.

    The page loads fine, but if you look in the console (in the browser developer’s toolkit), there is an error that reads “undefined:1 GET https://www.themysticdreamacademy.com/undefined 404 (Not Found)”

    Hits to this undefined page are using up a lot of server resources so we want to figure out what resource is failing to load so we can fix it. And it seems to be an issue between BuddyPress and Divi.

    Hope this info helps, any other suggestions?

    Thanks,
    Rory


    VibeThemes
    Participant

    @vibethemes

    an image failed to load : https://prnt.sc/uza8gn
    also divi’s file custom_unified.js is triggering that error. Does not seem like a buddypress issue at all.


    terranova23
    Participant

    @terranova23

    I brought the issue to Divi’s support team first, and they had me put the site into safe mode (disable all plugins etc.) which makes all those console errors go away. But as soon as BuddyPress is enabled again the issue comes back. So it seems like some kind of interaction between BuddyPress and Divi causing it, that’s why I’m posting here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar