Post types disappeared
-
I’ve been using CPT UI on a website as a way to display company profiles for a webshop, however, yesterday my post type called “companies” disappered in the admin panel, and I can’t load the pages anymore either.
I can still find the entries in the database, so I tried recreating the post type, but now whenever I try to create a new type in the CPT UI plugin i get the following errors:
Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 1880 Warning: Illegal string offset 'company' in /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 1713 Warning: Invalid argument supplied for foreach() in /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/utility.php on line 918 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/post-types.php:1880) in /var/www/mediax.dk/public_html/snegult.dk/wp-includes/functions.php on line 6270 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/post-types.php:1880) in /var/www/mediax.dk/public_html/snegult.dk/wp-admin/includes/misc.php on line 1310 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/custom-post-type-ui/inc/post-types.php:1880) in /var/www/mediax.dk/public_html/snegult.dk/wp-admin/admin-header.php on line 9 Warning: session_start() [function.session-start]: Cannot start session when headers already sent in /var/www/mediax.dk/public_html/snegult.dk/wp-content/plugins/woocommerce-ajax-filters/includes/custom_post.php on line 301
This functionality broke when I was installing WPML and some of the related plugins for different multilanguage functions.
Any idea how to resolve this?
- The topic ‘Post types disappeared’ is closed to new replies.