Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hkakinuma

    (@hkakinuma)

    Yes, once I clear re-installed CPTUI, error message is disappeared. However, when I tried to create new post type, it appeared again.
    Here is the message:

    supplied for foreach() in …/public/wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 1431

    Warning: Invalid argument supplied for foreach() in …/public/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 352

    Warning: Cannot modify header information – headers already sent by (output started at …/public/wp-content/plugins/custom-post-type-ui/inc/post-types.php:1431) in …/public/wp-admin/includes/misc.php on line 1198

    Thread Starter hkakinuma

    (@hkakinuma)

    Hello. As you suggested, I tried re-saved existing post types, and every time I clicked save button, same error message appeared.
    Thinking about some collapsed data, I deleted all existing post type and taxonomies (I have a backup of whole this site), then try to create a test post type. Error message appeared. Then, I deactivated and deleted this plug-in, reinstall latest version again, then tried to create new test post type. Still it showed error message.
    I deleted this newly created test post type, and got the debug info. Here is the link:
    https://www.dropbox.com/s/tkgdqruv7wzdzhy/20190427_debug.zip?dl=0

    I wish you can have some solution.

    Hiroyuki

    Thread Starter hkakinuma

    (@hkakinuma)

    Thank you for the quick reply.

    I provided plural labels and singular labels for every post type.
    Also I registered article_car (and labels: Articles Car / Article Car).

    Here is the debug info.
    https://www.dropbox.com/s/hgkw3d1zewumwfb/30290425_debug.zip?dl=0

    Thread Starter hkakinuma

    (@hkakinuma)

    Yes, fortunately, I deleted last two custom post type I created (yesterday, I couldn’t deleted because it stopped by the error before I completed to delete, but today, somehow, I could) and it worked. Thank you.

    Thread Starter hkakinuma

    (@hkakinuma)

    I could delete suspicious (corrupted?) customer post type and it worked without error message. Thank you for your suggestion.

    Thread Starter hkakinuma

    (@hkakinuma)

    Hello. I found it is nothing to do with Elementor update. I setup new site with Elementor and Custom Post Type UI and it works. I think there is damaged custom post type data and that causes the problem. I tried to delete last one of the custom post type which I made but under error message, the delete button doesn’t respond. I could export data by export function of Custom Post Type UI. Is there any way to fix this?

    Thread Starter hkakinuma

    (@hkakinuma)

    Hi, Thank you for your reply. Here is the error message:

    supplied for foreach() in /srv/users/serverpilot/apps/lab02/public/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 352

    Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/lab02/public/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 352

    Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/lab02/public/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php:352) in /srv/users/serverpilot/apps/lab02/public/wp-admin/includes/misc.php on line 1198

Viewing 7 replies - 1 through 7 (of 7 total)