Support » Plugin: BuddyPress Activity Plus » ‘Error processing your request’ for link share

  • mauroit

    (@mauroit)


    I have tried everything to understand what’s happening:
    some urls from my sites are not embedding, even in preview, giving back the error
    “There has been an error processing your request”.

    – I tried to debug and nothing is showing.

    – I changed anything in metatags in the urls that are not embedding, but no luck.

    – I supposed it was a matter of DNS, but I don’t find the issue.

    – It is happening only with Blogger sites under my domain 5LB.eu, i.e. https://androgyne.5lb.eu

    – Every other domain is ok, from WordPress or Blogger: for example framework.5lb.eu is under 5LB.eu and on WordPress and it’s ok.
    https://www.maurosartorio.com is by Blogger and it’s ok.
    I have many domain under 5LB.eu by Blogger and they don’t work, i.e https://androgyne.5lb.eu or https://vitadahameriano.5lb.eu

    Where the plugin is taking the preview information?
    What’s could block to embed the link?
    Thanks

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @mauroit

    I trust you are doing well!

    I’m sorry to hear you have this issue. A preview for domains https://androgyne.5lb.eu and https://vitadahameriano.5lb.eu worked well on my end

    Please go to Settings > Discussions on your site and change the value for “Comment Moderation” to a higher number to see if this will solve this issue. Please see screenshot:
    https://monosnap.com/file/3tSIdufENZDL8heeUSJYVtOsvbmcA8

    Let us know how it went!

    Kind regards,
    Nastia

    mauroit

    (@mauroit)

    I put it to 150: no way.
    I deactivated every plugin, but buddypress and BAP: no results
    Now I deleted the bp-custom.php and the functions.php: nothing
    I changed the theme to twentynineteen: nothing

    Do you have some ideas about what could be in the middle to block the render?
    Thank you very much

    mauroit

    (@mauroit)

    Another important detail: I have a precise copy of this kind of sites that Activity Plus is not embedding, a copy that has no custom domain 5LB.eu but the standard blogspot.com . This is working.
    So it’s not a matter of the site embedded (and you are confirming with your test), the issue is somewhere between the custom domain redirection of these Blogger sites and my buddypress installation, which I brought to a cleaned installation but still is not working.

    I understand that for you is difficult to manage an issue so specific, I’m just wondering if you have found something similar in your experience…
    Thanks

    Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @mauroit

    Hope you are doing well!

    I apologize for the late reply in here! Is the domain mapped with a default WordPress method?

    Please let me know, is the BuddyPress plugin along with the BuddyPress Activity plus network activated or active only on a subsite?

    Is there any kind of cache enable don a server, like Memcache or Varnish cache? If yes, please clear it and try to review the links

    Just to clarify, the issue is not happening with all links, right? Only with a preview for https://androgyne.5lb.eu and https://vitadahameriano.5lb.eu ?

    Please advise,

    Kind regards,
    Nastia

    Hello Nastia, thanks for the reply.
    – Not sure what is a default wordpress method: the site is under a sub-domain on Siteground, DNS by godaddy.
    – The buddypress installation is on single site, not a multi-site network.
    – I disabled Supercacher by Siteground

    Yes the other links are working, as the mix I told you in the previous messages.
    I’m the owner of both the links with the issue: because in your installation they are working and because a blogspot.com version of these is working in my installation too, something wrong is happening both in the buddypress site and the target sites (via custom domain 5lb.eu).
    It seems the ones passing through CNAME ghs.google.com on domain 5LB.eu . Other custom domains through ghs.google.com are working.

    It’s a Rubik Cube…

    Hi friends.
    I had the same issue, and found out it was a PHP 7.3 problem. I tested and it works until 7.2.15 but not on 7.3.
    Maybe in the next release.
    Thank you!

    AAAhhhh thank you @computermobil I was going crazy!
    I hope it is the same issue…and a new PHP or Activity Plus version can solve it!

    Ok, I tested PHP 5.6 , 7.1.26 , 7.2.15 , 7.3.2 … it’s not working, it’s not the same issue
    🙁

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mauroit,

    Just to double check – have you checked browser console when this error shows? Maybe there is 500 interval server error on a specific file?
    Have you checked server error logs? They might show more than a debug.log

    Let me know

    Kasia

    No information by the browser.
    No information in server log.

    I tried another buddypress installation (test) on another server and another provider: many more links are not working.
    I understand that you are relying on oembed for your plugin (right?), indeed oembed it’s not working on the same links.

    Strange new things: on my main installation this link https://dex.5lb.eu is perfectly working (this is a wordpress site of mine).
    On the test installation, clean with standard template, that link is not working.

    Same behaviour with a random blog such as https://wptavern.com/: on the test it’s giving back the usual error “There has been an error processing your request”.

    If I put HTTP instead of HTTPS, these sites don’t show the error, but the preview is populating with just the link (no image, no title, no description).
    If I try the same test with facebook.com, HTTP is redirecting to https populating with the right meta data.

    Is it something connected with HTTPS and redirections? Is a WP issue?
    Anyway I cannot understand such a different behaviours on different providers.

    If you want to test, I created the site on the free platform https://www.altervista.org

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mauroit,

    I’ve asked our coding experts to check this ticket and if they can suggest anything for further checking. I will keep you posted.

    kind regards,
    Kasia

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mauroit,

    Could you try this. In File: buddypress-activity-plus\lib\class_bpfb_binder.php Line 227
    find line:

    $url = !empty($_POST['data']) ? esc_url($_POST['data']) : false;

    and change it to:

    $url = ! empty( $_POST['data'] ) ? esc_url( str_replace( ' ', '', $_POST['data'] ) ) : false;

    and then try again with those urls?

    (make sure you have a backup of the file you are changing)

    kind regards,
    Kasia

    No difference.
    I tried to play with PHP version: 5.6 , 7.0.33 , 7.1.26 , 7.2.15 , 7.3.2
    the random site https://wptavern.com is working with every version but 7.3.2.
    On the test installation on http://www.altervista.org (PHP 5.6.40) and no other plugins, still WpTavern is giving the error “There has been an error processing your request”.

    All my sites such as https://androgyne.5lb.eu are not working with any PHP version…

    Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @mauroit

    Hope you are doing well!

    I apologize for the late reply. This is indeed a strange issue, as we are having a hard time replicating it. We still can’t replicate this issue on our end. Would you please try the following, go to Settings > BuddyPress > Options and change the Template Pack to BuddyPress Legacy.

    Please let us know if this will help.

    Kind regards,
    Nastia

    I’m always using the legacy one, anyway still the nouveau is not working.
    I’m on Siteground, but opening a test free site on http://www.altervista.org I can replicate the issue even more, on more sites.
    If you want to try you should be able to do it, using just a standard theme, buddypress and Activity PLus.
    All my sites and https://wptavern.com/ are not embedding, and many more.
    “There has been an error processing your request”

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