MB Custom Post Types CPT missing and error logs
Support › MB Custom Post Type › MB Custom Post Types CPT missing and error logsResolved
- This topic has 12 replies, 2 voices, and was last updated 4 years, 6 months ago by
Max Elman.
-
AuthorPosts
-
November 4, 2020 at 7:04 AM #22699
Max Elman
ParticipantHi,
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: https://rzfg.co/LRkE14
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: 45.70.235.84, server: staging-proterra.temp513.kinsta.cloud, 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: "staging-proterra.temp513.kinsta.cloud", referrer: "https://staging-proterra.temp513.kinsta.cloud/wp-admin/plugins.php"
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?
November 5, 2020 at 8:51 AM #22712Long Nguyen
ModeratorHi Max,
Please update the new version of MB Custom Post Types & Custom Taxonomies v2.0.5 then check the issue again.
Let me know how it goes.
November 5, 2020 at 11:04 PM #22725Max Elman
ParticipantHi Long,
Unfortunately, updating the plugin did not solve any of my issues.
November 5, 2020 at 11:18 PM #22726Max Elman
ParticipantActually, the icons are working now, I just had to reselect the icon I wanted and it showed up. Also just noticed that now there is no default icon selected anymore.
However, one of my CPTs is still blank. At least the title should be showing up.
November 6, 2020 at 12:19 PM #22729Long Nguyen
ModeratorHi Max,
Could you please delete the CPT and create again with the same name and slug? Let me know how it goes.
November 7, 2020 at 1:54 AM #22735Max Elman
ParticipantHi Long,
Deleting and creating the CPT again didn't solve anything either.
November 7, 2020 at 9:47 AM #22738Long Nguyen
ModeratorHi Max,
Please share the admin site and FTP account of the staging site Proterra again via the contact form https://metabox.io/contact/ and share some screenshots of the issue. I will check it out.
November 8, 2020 at 10:11 PM #22751Max Elman
ParticipantSent
November 8, 2020 at 10:20 PM #22752Max Elman
ParticipantActually no. I can't get your contact form to submit. Lots of console errors involving freshworks / freshdesk.com and this:
Access has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Maybe time to update your embed code.
November 9, 2020 at 3:03 PM #22761Long Nguyen
ModeratorHi Max,
The form has been fixed, please send the information.
November 10, 2020 at 4:35 AM #22768Max Elman
ParticipantInfo uploaded.
November 10, 2020 at 3:11 PM #22778Long Nguyen
ModeratorHi,
Something went wrong with the post type slug
video
, I just change tomy-video
and save permalink settings again to make it works. Check on this link https://staging-proterra.temp513.kinsta.cloud/my-video/test-my-video/.November 10, 2020 at 9:56 PM #22789Max Elman
ParticipantYes - 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!
-
AuthorPosts
- You must be logged in to reply to this topic.