Skip to:
Content
Pages
Categories
Search
Top
Bottom

jQuery x BuddyPress incompatibility causes problems


  • N33D
    Participant

    @n33d

    Hi guys,

    Working on this issue for like 8 straight hours and I finally found the problem but I still can’t fix it.

    In my theme I use:
    wp_deregister_script('jquery');

    And load jQuery myself:
    wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js', false, '1.0', null);

    Scripts are loaded correctly: (screenshot) https://pixelheads.d.pr/qB0nKV

    But it causes many problems. For example, when I press the “Add friend” button, the whole page (HTML) is loaded in the div.friendship-button element. No idea why.

    All help appreciated.

    Thanks in advance.
    Justin

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