Skip to:
Content
Pages
Categories
Search
Top
Bottom

“Invalid Post Type” when posting in group’s newsfeed


  • guillaummelane
    Participant

    @guillaummelane

    Hi ! Here’s my problem : when I post something on the wall from a group, the post fails to be published and I just get this message : “Invalid post type”. My website was created 10 days ago and there’s nobody on it (that’s why I was trying to create content) so I don’t know about how this goes for the very few users I have. Kind of a pain, since the posts just completely disappear to let this message appear. I checked my settings and I could not find any parameter controlling some “Post Types”.

    Hi use WP version 5.0.3, installed straight from Softaculous on Siteground, so probably as a directory. Unless the updates are automatic in WordPress, I don’t think I upgraded WP from 5.0.2 since I started creating my site later than the release of the latest version of WP. I had no issues with WP before downloading BuddyPress and I only had one problem after I had : weird display of messages with some code visible in some places of the page. I didn’t get to test much though since the site is very recent. I’m running BuddyPress Version 4.1.0. I didn’t upgrade it since I created the site. I have many plugins activated. Here’s the full list : Antispam Bee; bbp style pack; bbpress Version 2.5.14; BP Better Messages; BuddyDrive; BuddyPress Create Group Types; BuddyPress Follow; BuddyPress Global Search; BuddyPress Member Type Generator; BuddyPress Security Check; Contact Form 7; Events Manager; Flamingo; Footer Putter; GEO my WP; Loginizer; Nested Pages; Orbit Fox Companion; Post Types Order (supposed to deal with order?); SG Optimizer; Sitewide Newsletters; Super Progressive Web Apps; Query Monitor (recently downloaded, after noticing the problem); The GDPR Framework; TranslatePress – Multilingual; Wordfence Security; WP Statistics; Wpworx FAQ; YellowPencil Pro; Yoast SEO; Youzer. I have a few other installed but deactivated plugins. I am using the theme Orfeo by ThemeIsle, a child theme from Hestia if I remember correctly. I didn’t modify the core files and I don’t think I have custom functions.
    I don’t know what system my server is running.

    Thanks in advance ????

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

  • Venutius
    Moderator

    @venutius

    Hi there, I’d first try deactivating all plugins apart from BuddyPress and see if that works.


    guillaummelane
    Participant

    @guillaummelane

    Okay I’ll try that thanks ! Should I be worried of any issues after deactivating all the plugins ? Like losing data or settings ?


    Venutius
    Moderator

    @venutius

    Not from deactivating, some plugins delete their data if you delete them from the plugins page, but you aren’t doing that.


    guillaummelane
    Participant

    @guillaummelane

    okay great ! I’ll do that straight away and tell you how it goes


    guillaummelane
    Participant

    @guillaummelane

    IT WORKED BLOODY HELL
    Thx
    You are my hero. What is the next step ?


    Venutius
    Moderator

    @venutius

    So now you reactivate the plugins one by one until it stops working again, then you will have isolated the culprite. it’s a bit of a pain I know. The alternative is to activate half of them in one go and check if it’s stil working, that way you will have ruled out 50% of your plugins at once.


    guillaummelane
    Participant

    @guillaummelane

    Okay so the problem is linked to Youzer.
    I’ll try to see if Youzer is the only source, or if an incompatibility is the issue


    guillaummelane
    Participant

    @guillaummelane

    Youzer is the only problem. The problem is persistent no matter what other plugins are activated.


    Venutius
    Moderator

    @venutius

    Yep, I’d recommend you do a lotof testing. With a plugin list that’s long there’s bound to be other compatibility issues hiding. Here’s a tip: try https://wordpress.org/plugins/plugin-detective/ next time you spot a potential conflict. With a lot of plugins it really helps streamline the process of tracking down the offending plugin.

    Also, while you are in the startup stage turn on WordPress Debugging, there’s a plugin BWS Error Log Viewer – that will set up your error log and give you a simple way of viewing it, this will help you track the issues. WP DEBUG can cause a performnce hit for active sites so the general idea is to only run it on active sites if you are tracking a particular issue though to be honest one my sites with only a few hundred users I’ve not seen any issues with it on.

    Check out https://codex.wordpress.org/WP_DEBUG for more info on debugging in WordPress.

    One last thing: don’t forget your JavaScript console in your browser, the WP Error log is for PHP errors in the WordPress back-end, the js console (right click on the page and Inspect Element) will show you any JavaScript Errors and messages.


    guillaummelane
    Participant

    @guillaummelane

    Okay the problem was stupid…
    I misinterpreted the “wall settings” in the youzer panel two weeks ago when I created the site, to be about members and not groups. Status posts and other post types weren’t enabled… That’s just ridiculously dumb. Problem solved x)


    Venutius
    Moderator

    @venutius

    Ah great you’ve spotted it and that you don’t have to wait for a fix!


    guillaummelane
    Participant

    @guillaummelane

    Yep thanks a lot for your help and your previous answer that I hadn’t seen !

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