Skip Navigation

[Resolved] I can't add a custom type post

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1078483
Schermata 2018-08-09 alle 15.54.06.png
Schermata 2018-08-09 alle 15.54.16.png

I am trying to: when I try to add a new post of custom post type "Immobili" the screen remail empty (see screenshot)

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#1078601

Hi, please try the following troubleshooting steps first:
- Update to the latest version of WordPress. Toolset works best in the latest version, and yours is quite out of date.
- Temporarily activate a default theme like Twenty Seventeen, and deactivate all plugins except Types. Test again. If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns.
- Go to Settings > Permalinks and resave the permalinks.
- Test the custom post type again. If you are still unable to create CPTs, please turn on server logging temporarily so we can get some more information. If you are not familiar with server logs, I can show you how to activate them temporarily. Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Reload the page in wp-admin to create a new CPT post. If any server-side errors are thrown, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php.

Let me know what you find out and we can go from there.