WordPress.org

Ready to get started?Download WordPress

Forums

NGINX Manager
[resolved] Error on WP 3.5: Cannot modify header information (4 posts)

  1. retroriff
    Member
    Posted 1 year ago #

    Hello, I've detected an error when I schedule my custom taxonomies posts, in order they to be published in the future. Perhaps it happens since I updated to WP 3.5 but I'm not sure. It doesn't happen with normal posts. This is the error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/XXX/wp-content/plugins/nginx-manager/nginx-manager.php on line 226

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXX/wp-content/plugins/nginx-manager/nginx-manager.php:226) in /home/XXX/wp-includes/pluggable.php on line 876

    Thank you

    http://wordpress.org/extend/plugins/nginx-manager/

  2. rukbat
    Member
    Plugin Author

    Posted 1 year ago #

    Try to check in Nginx Manager > Overview submenu: do it recognize your custom post type(s)? Maybe you have to give an higher priority to your custom post types.

    Let us know...

  3. retroriff
    Member
    Posted 1 year ago #

    It says:

    Custom post types
    
    Hey, give a higher priority (<15) to your custom post types!!! (e.g. add_action('init', 'my_custom_post_type_register', 5) or add_action('init', 'my_custom_post_type_register'))
    
    Custom post types defined: fotos, thumbs, tubes
    
    No custom post types recognized by Nginx Manager!
    
    Custom taxonomies
    
    Custom taxonomies defined: star

    I have this actions in my functions.php:

    add_action('init','create_post_type',10);
    add_action('init','create_star',10);

    Thanks

  4. rukbat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    Please update to version 1.3.4.4 and thank you.

    If you want to purge your custom post types you have to insert them in Nginx Manager > Setup in Custom post types > Purge CPT field (comma separated list)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.