Old post types remain

This topic is: not resolved
Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
May 26, 2013 at 10:58 pm #3071
AvatarBart Dabek
Post count: 24

We’re transitioning from other plugins to this one and as we remove old post types from other plugins the plugin still picks them up as active. We’ve deactivated the old post_type and the old names still show up within Masterplan. Any idea why?

Also had an issue when creating a new post type and it was registered before, we deleted it and masterplan wouldn’t create a new post type with the same name saying it was already used when it was already disabled.

May 26, 2013 at 11:01 pm #3073
AvatarBart Dabek
Post count: 24

Here is a screenshot of two tips post types appearing

http://screencast.com/t/xpA6B2zL3uk3

May 26, 2013 at 11:12 pm #3074
AvatarBart Dabek
Post count: 24

Here is the problem with not being able to create a custom post type

No video post type exists… we just deleted it from another plugin

http://screencast.com/t/ZHBHSc075c

Here is the error we’re getting

http://screencast.com/t/KUEH8aKI

May 27, 2013 at 8:39 am #3077
Avatartraversal
Post count: 207

Hey Bart, sorry about these issues. The problem lies in the fact that MasterPress stores post types that are already registered by other plugins in its own database too so that they are available in the list of post types in the Masterplan area, so you can create fields against externally registered post types, for example.

This works well for scenarios like post types that are registered by themes or other plugins, but (as I’m finding out) not so well for migration from other plug-ins.

It’s not a “friendly” solution, but are you able to remove the post type rows from the “{prefix}mp_post_types” table? That should get rid of the externally recorded types and allow you to re-create them correctly in MasterPress.

Sorry about this, I need to create a section of the plug-in somewhere that deals with migration specifically.

May 28, 2013 at 10:26 pm #3099
AvatarBart Dabek
Post count: 24

This resolved the issue but do you plan on addressing it in the future? Or does the beta already take care of this?

May 29, 2013 at 8:41 am #3103
Avatartraversal
Post count: 207

Hi Bart,

No the beta doesn’t solve this issue but we will address it in a future release. Someone else has also mentioned a very similar migration problem they had, so it’s something that needs work.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Latest From the Blog

MasterPress 1.3.1 is now available

MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM