Skip to:

Errors in comment threading and friend requests after move to new web host

  • porubcansky


    WP Version: 4.7.2
    BP Version: 2.7.4
    bbpress: 2.5.12

    Other Plugins:
    * Akismet
    * BadgeOS
    * BuddyPress Pending Activations
    * FAQTastic
    * FD Footnotes
    * GD bbpress tools 1.9
    * Jetpack
    * Members
    * Personal Welcome
    * WangGuard

    Custom theme:

    There doesn’t appear to be a bp-custom.php file.

    WordPress and BuddyPress both were working fine on the site prior to a move to WP Engine as the new host.

    After the move to the new host, we have experienced two problems. It feels like they both might be simple and/or related but we can’t track it down yet. Will pull server error logs and add after posting.

    *** Comments all posting to the hello-world post instead of the correct post.

    For example, notice that the comments on this page:

    have been posted to the comment thread for this original post:

    *** Friendship Requests are reported in the interface but users are getting a “You have no pending friendship requests” when they try to view them.

    More explanation here:

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

  • porubcansky


    Example of error logs:
    [Sat Feb 04 21:43:29.117033 2017] [:error] [pid 10835] [client] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY ID DESC LIMIT 1 /* From [] in [‘ at line 1 for query SELECT ID FROM wp_posts WHERE post_status=’draft’ AND post_type=’attachment’ AND post_author = 22943 AND post_parent = ORDER BY ID DESC LIMIT 1 /* From [] in [/nas/content/live/maryrobinette/wp-content/plugins/badgeos/includes/submission-actions.php:1783] */ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/buddypress/bp-themes/bp-default/single.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, badgeos_achievement_submissions, badgeos_submission_form, badgeos_get_submission_form, get_attachment_from_draft_submission, referer:

    That error comes from the BadgeOS plugin. You’ll need to talk to that plugin’s developers for support:

    Am leaving this topic open for now because you mention multiple issues, let’s try to fix them one at a time (BadgeOS first).



    New information: the commenting issue seems to be theme related. The custom theme Lettermo exhibits the problem across multiple pages on the site, as does Agama Pro that we’re testing. The TwentySeventeen theme seems to bring the comments back into working order. Is it still worth checking to see if BadgeOS is the problem here?



    Difficulty with friend requests: we changed settings on WangGuard which seems to have restored users’ ability to see friend requests. A quick search didn’t show me much back material concerning WangGuard interactions with BuddyPress. This site didn’t behave that way before. Is it possible WangGuard is interfering more with BuddyPress 2.7.4 than with previous versions of BP?

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