Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Spamers #47171

    Hi Daniel,
    You are welcome.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    I had a look.
    Your current issue is caused by WP Cerber plugin. Here is what is happening:-

    1. On ‘init’ action, wp cerber check for access and if the url is prohibited, It loads 404 page.
    The problem is, It is loading theme’s header.php too early(normally, It should do that at ‘wp’ or below).

    At ‘init’ action, BuddyPress components are also setup and since WP Cerber has slightly high priority, it loads the page before our MediaPress gallery component is setup.

    MediaPress plugin hooks to ‘body_class’ to add some extra css classes to ‘body’ element. On the 404 page created by Cerber, this gets called too early(before even having the component setup). That is causing the issue(the slug is not defined at that time).

    The real solution would be to have W Cerber fix it by loading the template late(I checked their wp.org page and It is under temporary suspension currently, so could not request them for it).

    A temporary fix form our side will be to add an extra check for MPP_GALLERY_SLUG being defined(we should not need to do it as our plugin guarantees it to be defined at init).

    I will push a release tomorrow to fix this one for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    Thank you.
    I am testing it with the theme you are using. I will update you in couple of hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] The plugin causes a critical site error #47165

    Hi Vladi,
    Thank you for the reply.
    All servers are different and there may be some issues with configuration. The current version of MediaPress has been a very stable one but I am expecting some issues with PHP 8.0+ to surface.

    If there is a critical error notice, It is some fatal error and the only way to know it will be if you share the error log(php error log). If you can provide that for audio, we can check and update the plugin with the same.

    In the meantime, for the current issue, Please share the following details:-

    1. Your current php version
    2. Are you using WordPress multisite? If yes, Is MediaPress network active?
    3. Are you using it with BuddyPress?
    4. If yes, which version of BuddyPress/WordPress are you using?
    5. If yes(3rd), is the error happening on profile or group page?

    6. If no, is the error happening on upload or viewing?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Spamers #47163
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Vladi,
    Welcome to BuddyDev foums.
    I am sorry for the inconvenience.
    I am not sure what is causing it. It seems some code is causing this function mpp_is_component_gallery() too early.

    We are defining that constant in mpp_setup_core which should be fine.

    is there any recent changes on your site? Are you using any custom code related to mediapress? Please share and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Anna,
    hope you are doing well.

    I have fixed the issue. It was related to WordPress’s comment-reply script not being loaded on the single post page.

    I will push the release in next 24-48 hours as we have some other changes related to BuddyBlog Groups that I am trying to put in this release.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: BuddyBlog Pro Posts Layout – 2 #47156

    Hi Nik,
    Thank you for the reply.
    we are back to work now and I will be assisting you with this one as well as the Activity action string issue in next 2-3 days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Chris,
    I am sorry for the delayed reply.

    Please make sure in the form settings, you have enabled the option:-
    https://ibb.co/Zgk7T6K

    I have tested and it works for group too.

    Please try and let me know.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    This reply has been marked as private.