• Resolved khalkjaer

    (@khalkjaer)


    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?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good to know for your issue and glad to hear you found the source of conflict for ya.

    Thread Starter khalkjaer

    (@khalkjaer)

    I didn’t figure out the problem with CPT UI, as I just figured out a different solution and went with that (As I mentioned previously). If it helps you out I can mark this as resolved anyways.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    we’ll leave marked as unresolved for the moment, as still waiting on at least 1 other person out of 3 who chimed in with similar issues.

    I haven’t been enable to reply sooner; but at this moment I can’t find the issue that causes the CPT to disappear. Also on a different setup this problem didn’t appear.

    So I have no idea what causes the issue, but to me it looks like a isolated issue that is not causing major issue on all websites.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @ricardob4u hopefully you stumble on it and get it resolved for sure.

    I doubt it’ll be of help, but I did release a 1.8.1 late yesterday, just in case oddities happen.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Post types disappeared’ is closed to new replies.