Skip Navigation

[Resolved] cant create custom post types.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 8 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2695778

I am trying to:
create a custom post type

Link to a page where the issue can be seen:
NA

I expected to see:
the page where i can set up a custom post type in toolset on wordpress

Instead, I got:
When i click the create post type button the site goes to critical error mode

#2695979

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Would you please test to see if there is any sort of conflict with another plugin or the time of your website?

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and Toolset add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If it is possible to see the issue with only Toolset enabled, please enable WordPress debug mode so you can share the error under the hood instead of the critical error message.

Would you please access your website files and edit the "wp-config.php" file on the root folder of your WordPress installation and add the code below into the file:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

Thanks

#2696221

Hi there

I cloned my site into a staging environment, disabled all plugins but toolset and changed the theme to twentytwentythree and i could still reproduce the error. I have per your request enabled debug mode. What is next?

(I have two sites, where I see this error on both. I only did this test for one of them, as I suspect whatever Is going on is the same for both of them.)

#2696567

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Thanks. So now that you have enabled the debug mode you should not see the critical error message and instead you should see a message saying PHP Fatal error. With the actual message which I need you to share so I can see what might be the issue.

Meanwhile, if you can share the login information of the copied website (not the live one) I can also check there.

Please make the next reply as private by checking the checkbox so you can provide the login information.
Thanks.

#2697403

Sorry, i messed up the login credentials. Will get back with correct login credentials as soon as the wp-login is operational again.

#2697651

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Thank you sure. You can set the next reply as private.

If you think it has a risk to do troubleshooting, I suggest that you provide credentials of a website copy so if I want to do troubleshooting and plugin deactivating it will not disrupt the live website.

Thanks.

#2698655

i turned out this was a plugin conflict after all. I dont know why i could reproduce the error with the plugin turned of. It seemed like the plugin had some residual effects even after being turned off. Very weird.

The conflict was with the plugin, Bambora Online Epay version 6.0.0. We have made them aware of the issue and they promised to patch it in the next version.