• Resolved oudein

    (@oudein)


    Updated to v1.1.1, and created two post-to-user connections. When I update a post in which any Post2Post relationships are registered the following errors get thrown:

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/posts-to-posts/admin/box-factory.php on line 113
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/posts-to-posts/admin/box-factory.php:113) in /home/tvr/studiobanana-com/w/wp-includes/pluggable.php on line 934

    My connection registrations are:

    p2p_register_connection_type( array(
    		'name' => 'multiple_authors',
    		'from' => 'people',
    		'to_object' => 'user',
    /*		'admin_column' => 'any'*/
    	) );
    
    	p2p_register_connection_type( array(
    		'name' => 'studio',
    		'from' => 'places',
    		'to_object' => 'user',
    /*		'admin_column' => 'any'*/
    	) );

    I commented out the admin_columns but it effected no change. I also checked the p2p file referenced in the errors, but it looks fine, and since no one else seems to be having the same problem, I suspect it may not be in the plugin files.

    Am I missing something completely obvious?

    http://wordpress.org/extend/plugins/posts-to-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Posts 2 Posts] Updating posts returns error’ is closed to new replies.