Custom Fields
Support MB Custom Post Type MB Custom Post Types CPT missing and error logs

  • Creator
  • #22699
    Resolved Max Elman


    Today I found out that one of my CPTs was broken, nothing was being displayed. I had to create a new CPT with another name and move the posts there. The CPT slug was "videos", I don't know if that matters.

    The CPT is working now, but the plugin MB Custom Post Types & Custom Taxonomies is not. And the CPT icon isn't showing up either. If I try to edit one of my CPTs and go to the Supports tab, everything disappears:

    While troubleshooting on staging, I found out that as soon as I activate MB Custom Post Types & Custom Taxonomies, I get this error:

    2020/11/03 23:48:16 [error] 3620#3620: *379 FastCGI sent in stderr: "PHP message: PHP Warning: strpos() expects parameter 1 to be string, array given in /www/proterra_543/public/wp-includes/media.php on line 3446" while reading response header from upstream, client:, server:, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.3-fpm-proterra.sock:", host: "", referrer: ""

    I also get very similar errors whenever I do anything else on the site, like updating any post or activating/deactivating other plugins. But that only happens when the MB Custom Post Types & Custom Taxonomies is active.

    Any idea why that is happening?

Viewing 2 replies - 11 through 12 (of 12 total)
  • Author
  • #22778
    Long Nguyen


    Something went wrong with the post type slug video, I just change to my-video and save permalink settings again to make it works. Check on this link

    Max Elman

    Yes - we figured that out a few days ago. We'd like to use that slug name. Do you know what is the problem with using "video"? Thank you!

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