Forum Replies Created

Viewing 1 replies (of 1 total)
  • @scribu I am having problem for past couple of days now, I can run the p2p plugin perfectly in my localhost but when I upload or activate the plugin in the server the same code that i write in the functions.php doesn’t runs at all. I meant to say is when i ‘Create connections programmatically’ like

    p2p_type( 'MY_CONNECTION_TYPE' )->connect( $from_id, $to_id, array(
    	'date' => current_time('mysql')
    ) );

    I am unable to do it in server but I can in localhost anyways.
    Thanks in advance

Viewing 1 replies (of 1 total)