WordPress.org

Ready to get started?Download WordPress

Forums

Help me to solve clicking favorite and subscribe problem (4 posts)

  1. uniqcon89
    Member
    Posted 1 year ago #

    Hello,

    When I click favorite or subscribe button in bbpress, it doesn't work with showing "undefined"

    But, when I click these buttons by right click "open new windows" then it works.

    you can test it in this website http://romentor.com/topics/test1/

    thanks you very much.

  2. keepitnang
    Member
    Posted 1 year ago #

    Hi,

    I also experienced this issue recently. In my case, it happened that I had included fitVids.js in my theme and then uploaded a plugin which also included it. Commenting out the line in my functions.php where I had enqueued the fitVids script then resolved the issue, and the buttons worked as they should.

    I'd suggest going through and disabling plugins one at a time in your theme to see if any of these are causing the conflict here, and also commenting out any additional scripts you are enqueueing in your functions.php one by one to try and isolate the issue. You may also be calling scripts in your header.php so try disabling/re-enabling them too.

    Hope this helps in some way

    Best,
    Iain

  3. keepitnang
    Member
    Posted 1 year ago #

    After today, and doing some more work on the site I was experiencing the difficulty with in the first place, I find that the issue is now recurring for me.

    A little digging around has revealed these posts:

    http://bbpress.trac.wordpress.org/ticket/2302

    and

    http://bbpress.org/forums/topic/enqueue-ajax-script-in-buddypress-groups-forum/

    So, it appears that the issue is a known one within bbPress and is resolved on upgrading to 2.4.

    I will attempt to upgrade to 2.4 tomorrow from the repository and let you know how I get on.

    Best,
    Iain

  4. keepitnang
    Member
    Posted 1 year ago #

    Just as a note here on how this was finally resolved for me:

    I was using a theme that I found to be including its own bbpress-functions.php. In there was a duplicate inclusion of topic.js which was conflicting with the one in the plugin files themselves.

    Removing the inclusion from the theme's bbpress-functions.php solved the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic