• Resolved jasonploegman

    (@jasonploegman)


    I’ve setup the plugin plus the utilities pack on my multisite with 12 sites but for some reason when I broadcast the parent and children aren’t linked even though the checkbox is checked. Everything else seems to be working correctly otherwise. What can I try to fix it?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    If you enable Broadcast debug mode and then broadcast the post, just to one blog, what does the debug dump say?

    Thread Starter jasonploegman

    (@jasonploegman)

    I believe this is what you’re looking for?

    2018-10-25 20:40:49.5343 ThreeWP_Broadcast: Preparing the broadcasting data.
    2018-10-25 20:40:49.5357 ThreeWP_Broadcast: Broadcasting data prepared.
    2018-10-25 20:40:49.5521 ThreeWP_Broadcast: System info:
    Information
    Key Value
    Debugging Enabled
    Broadcast version 43.1
    Wordpress version 4.9.8
    PHP version 7.0.32-0ubuntu0.16.04.1
    Wordpress upload directory array
    array (
    ‘path’ => ‘/srv/sites/briwebapp.net/wp-content/uploads/sites/14/2018/10’,
    ‘url’ => ‘http://briwebapp.net/chyrfm/wp-content/uploads/sites/14/2018/10’,
    ‘subdir’ => ‘/2018/10’,
    ‘basedir’ => ‘/srv/sites/briwebapp.net/wp-content/uploads/sites/14’,
    ‘baseurl’ => ‘http://briwebapp.net/chyrfm/wp-content/uploads/sites/14’,
    ‘error’ => false,
    )
    Plugin paths
    stdClass::__set_state(array(
    ‘__FILE__’ => ‘/srv/sites/briwebapp.net/wp-content/plugins/threewp-broadcast/ThreeWP_Broadcast.php’,
    ‘name’ => ‘threewp_broadcast\\ThreeWP_Broadcast’,
    ‘filename’ => ‘ThreeWP_Broadcast.php’,
    ‘filename_from_plugin_directory’ => ‘/threewp-broadcast/ThreeWP_Broadcast.php’,
    ‘path_from_plugin_directory’ => ‘/threewp-broadcast’,
    ‘path_from_base_directory’ => ‘wp-content/plugins/threewp-broadcast’,
    ‘url’ => ‘https://briwebapp.net/chyrfm/wp-content/plugins/threewp-broadcast’,
    ‘ABSPATH’ => ‘/srv/sites/briwebapp.net/’,
    ‘WP_PLUGIN_DIR’ => ‘/srv/sites/briwebapp.net/wp-content/plugins’,
    ))
    PHP maximum execution time
    200 seconds

    PHP memory limit 256M
    Wordpress memory limit
    256M

    This can be increased by adding the following to your wp-config.php:

    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    Debug code
    Add the following lines to your wp-config.php to help find out why errors or blank screens are occurring:

    ini_set(‘display_errors’,’On’);
    define(‘WP_DEBUG’, true);

    Hooked into save_post delete_get_calendar_cache
    expirationdate_update_post_meta
    save_custom
    save_custom_meta_box
    Members\Admin\Meta_Box_Content_Permissions::update
    Video_Thumbnails::save_video_thumbnail
    threewp_broadcast\ThreeWP_Broadcast::nop
    threewp_broadcast\ThreeWP_Broadcast::save_post
    Plugins active on blog
    Plugins active on network bri-onair-schedule/bri-onair-schedule.php, Blackburn Radio Inc Onair Scheduler, 1.0
    akismet/akismet.php, Akismet Anti-Spam, 4.0.8
    gravityformsmailchimp/mailchimp.php, Gravity Forms MailChimp Add-On, 4.3
    gravityformspolls/polls.php, Gravity Forms Polls Add-On, 3.1.4
    gravityformsquiz/quiz.php, Gravity Forms Quiz Add-On, 3.1.7
    gravityformsrestapi/restapi.php, Gravity Forms REST API, 2.0-rc-1
    wp-stateless/wp-stateless-media.php, WP-Stateless, 2.1.7
    duplicate-post/duplicate-post.php, Duplicate Post, 3.2.2
    post-expirator/post-expirator.php, Post Expirator, 2.3.1.1
    video-thumbnails/video-thumbnails.php, Video Thumbnails, 2.12.3
    wp-mail-smtp/wp_mail_smtp.php, WP Mail SMTP, 1.3.3
    basic-auth/basic-auth.php, JSON Basic Authentication, 0.1
    members/members.php, Members, 2.1.0
    tablepress/tablepress.php, TablePress, 1.9
    wp-polls-api/wp-polls-api.php, WP-Poll API,
    gravityforms/gravityforms.php, Gravity Forms, 2.3.5
    threewp-broadcast/ThreeWP_Broadcast.php, Broadcast, 43.10
    threewp-broadcast-utilities-pack/ThreeWP_Broadcast_Utilities_Pack.php, Broadcast Utilities Pack, 43.7
    wp-pexels-free-stock-photos/index.php, Pexels: Free Stock Photos, 1.0.2
    Broadcast option all_networks false
    Broadcast option blogs_to_hide “5”
    Broadcast option blogs_hide_overview “5”
    Broadcast option canonical_url “1”
    Broadcast option clear_post “”
    Broadcast option custom_field_blacklist “”
    Broadcast option custom_field_protectlist “”
    Broadcast option custom_field_whitelist “”
    Broadcast option database_version “8”
    Broadcast option debug “1”
    Broadcast option debug_ips “”
    Broadcast option debug_to_browser “”
    Broadcast option debug_to_file “1”
    Broadcast option keep_attachments “”
    Broadcast option save_post_decoys “1”
    Broadcast option save_post_priority “640”
    Broadcast option override_child_permalinks false
    Broadcast option post_types “post page events”
    Broadcast option existing_attachments “use”
    Broadcast option role_broadcast [“editor”]
    Broadcast option role_link [“editor”]
    Broadcast option role_broadcast_as_draft [“editor”]
    Broadcast option role_broadcast_scheduled_posts [“editor”]
    Broadcast option role_taxonomies [“editor”]
    Broadcast option role_custom_fields [“editor”]
    Broadcast option savings_calculator_data {}
    Broadcast option taxonomy_term_blacklist “”
    Broadcast option taxonomy_term_protectlist “”

    2018-10-25 20:40:49.5522 ThreeWP_Broadcast: Broadcasting the post 6
    WP_Post::__set_state(array(
    ‘ID’ => 6,
    ‘post_author’ => ‘1’,
    ‘post_date’ => ‘2018-10-24 20:53:42’,
    ‘post_date_gmt’ => ‘2018-10-24 20:53:42’,
    ‘post_content’ => ‘Test2’,
    ‘post_title’ => ‘Broadcast’,
    ‘post_excerpt’ => ”,
    ‘post_status’ => ‘publish’,
    ‘comment_status’ => ‘open’,
    ‘ping_status’ => ‘open’,
    ‘post_password’ => ”,
    ‘post_name’ => ‘broadcast’,
    ‘to_ping’ => ”,
    ‘pinged’ => ”,
    ‘post_modified’ => ‘2018-10-25 20:40:49’,
    ‘post_modified_gmt’ => ‘2018-10-25 20:40:49’,
    ‘post_content_filtered’ => ”,
    ‘post_parent’ => 0,
    ‘guid’ => ‘https://briwebapp.net/chyrfm/?p=6’,
    ‘menu_order’ => 0,
    ‘post_type’ => ‘post’,
    ‘post_mime_type’ => ”,
    ‘comment_count’ => ‘0’,
    ‘filter’ => ‘raw’,
    ))

    2018-10-25 20:40:49.5523 ThreeWP_Broadcast: The POST is
    array (
    ‘_wpnonce’ => ‘2b5460bfb3’,
    ‘_wp_http_referer’ => ‘/chyrfm/wp-admin/post.php?post=6&action=edit’,
    ‘user_ID’ => 1,
    ‘action’ => ‘editpost’,
    ‘originalaction’ => ‘editpost’,
    ‘post_author’ => 1,
    ‘post_type’ => ‘post’,
    ‘original_post_status’ => ‘publish’,
    ‘referredby’ => ‘https://briwebapp.net/chyrfm/wp-admin/edit.php’,
    ‘_wp_original_http_referer’ => ‘https://briwebapp.net/chyrfm/wp-admin/edit.php’,
    ‘post_ID’ => ‘6’,
    ‘meta-box-order-nonce’ => ‘c9e8591b9b’,
    ‘closedpostboxesnonce’ => ‘58830534b5’,
    ‘post_title’ => ‘Broadcast’,
    ‘samplepermalinknonce’ => ‘3506fac620’,
    ‘content’ => ‘Test2’,
    ‘wp-preview’ => ”,
    ‘hidden_post_status’ => ‘publish’,
    ‘post_status’ => ‘publish’,
    ‘hidden_post_password’ => ”,
    ‘hidden_post_visibility’ => ‘public’,
    ‘visibility’ => ‘public’,
    ‘post_password’ => ”,
    ‘mm’ => ’10’,
    ‘jj’ => ’24’,
    ‘aa’ => ‘2018’,
    ‘hh’ => ’20’,
    ‘mn’ => ’53’,
    ‘ss’ => ’42’,
    ‘hidden_mm’ => ’10’,
    ‘cur_mm’ => ’10’,
    ‘hidden_jj’ => ’24’,
    ‘cur_jj’ => ’25’,
    ‘hidden_aa’ => ‘2018’,
    ‘cur_aa’ => ‘2018’,
    ‘hidden_hh’ => ’20’,
    ‘cur_hh’ => ’20’,
    ‘hidden_mn’ => ’53’,
    ‘cur_mn’ => ’40’,
    ‘original_publish’ => ‘Update’,
    ‘save’ => ‘Update’,
    ‘post_category’ =>
    array (
    0 => ‘0’,
    1 => ‘1’,
    ),
    ‘newcategory’ => ‘New Category Name’,
    ‘newcategory_parent’ => ‘-1’,
    ‘_ajax_nonce-add-category’ => ‘8790b7e315’,
    ‘tax_input’ =>
    array (
    ‘post_tag’ =>
    array (
    0 => 2,
    ),
    ),
    ‘newtag’ =>
    array (
    ‘post_tag’ => ”,
    ),
    ‘expirationdate_formcheck’ => ‘true’,
    ‘taxonomy-heirarchical’ => ‘category’,
    ‘_thumbnail_id’ => ‘7’,
    ‘meta-box-nonce’ => ‘e36a2afd15’,
    ‘featured_img_display’ => ‘Yes’,
    ‘broadcast’ =>
    array (
    ‘link’ => ‘on’,
    ‘custom_fields’ => ‘on’,
    ‘taxonomies’ => ‘on’,
    ‘blogs’ =>
    array (
    ‘blogs_15′ => ’15’,
    ),
    ‘unchecked_child_blogs’ => ”,
    ),
    ‘excerpt’ => ”,
    ‘trackback_url’ => ”,
    ‘meta’ =>
    array (
    13 =>
    array (
    ‘key’ => ‘featured_img_display’,
    ‘value’ => ‘Yes’,
    ),
    ),
    ‘_ajax_nonce’ => ‘a11517bfdb’,
    ‘metakeyselect’ => ‘#NONE#’,
    ‘metakeyinput’ => ”,
    ‘metavalue’ => ”,
    ‘_ajax_nonce-add-meta’ => ‘e4e7ba2680’,
    ‘advanced_view’ => ‘1’,
    ‘comment_status’ => ‘open’,
    ‘ping_status’ => ‘open’,
    ‘add_comment_nonce’ => ‘640ddc7242’,
    ‘_ajax_fetch_list_nonce’ => ‘d147f35e18’,
    ‘post_name’ => ‘broadcast’,
    ‘post_author_override’ => ‘1’,
    ‘members_cp_meta’ => ‘ac9de2066b’,
    ‘members_access_error’ => ”,
    ‘post_mime_type’ => ”,
    ‘ID’ => 6,
    ‘post_content’ => ‘Test2’,
    ‘post_excerpt’ => ”,
    ‘to_ping’ => ”,
    )

    2018-10-25 20:40:49.5526 ThreeWP_Broadcast: Linking is enabled.
    2018-10-25 20:40:49.5526 ThreeWP_Broadcast: Post type is hierarchical: 0
    2018-10-25 20:40:49.5527 ThreeWP_Broadcast: Will broadcast taxonomies.
    2018-10-25 20:40:49.5528 ThreeWP_Broadcast: The custom field blacklist is:
    array (
    )

    2018-10-25 20:40:49.5529 ThreeWP_Broadcast: The custom field protectlist is:
    array (
    )

    2018-10-25 20:40:49.5529 ThreeWP_Broadcast: The custom field whitelist is:
    array (
    )

    2018-10-25 20:40:49.5544 ThreeWP_Broadcast: Taxonomy data dump:
    plainview\sdk_broadcast\collections\collection::__set_state(array(
    ‘items’ =>
    array (
    ),
    ))

    2018-10-25 20:40:49.5545 ThreeWP_Broadcast: Parent taxonomies dump:
    array (
    ‘category’ =>
    array (
    1 =>
    WP_Term::__set_state(array(
    ‘term_id’ => 1,
    ‘name’ => ‘Uncategorized’,
    ‘slug’ => ‘uncategorized’,
    ‘term_group’ => 0,
    ‘term_taxonomy_id’ => 1,
    ‘taxonomy’ => ‘category’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => 1,
    ‘filter’ => ‘raw’,
    )),
    ),
    ‘post_tag’ =>
    array (
    2 =>
    WP_Term::__set_state(array(
    ‘term_id’ => 2,
    ‘name’ => ‘test’,
    ‘slug’ => ‘test’,
    ‘term_group’ => 0,
    ‘term_taxonomy_id’ => 2,
    ‘taxonomy’ => ‘post_tag’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => 1,
    ‘filter’ => ‘raw’,
    )),
    ),
    ‘post_format’ =>
    array (
    ),
    )

    2018-10-25 20:40:49.0556 ThreeWP_Broadcast: Custom fields: Will broadcast custom fields.
    2018-10-25 20:40:49.5561 ThreeWP_Broadcast: The custom fields are
    array (
    ‘_edit_lock’ =>
    array (
    0 => ‘1540500043:1’,
    ),
    ‘_thumbnail_id’ =>
    array (
    0 => ‘7’,
    ),
    ‘_edit_last’ =>
    array (
    0 => ‘1’,
    ),
    ‘_pingme’ =>
    array (
    0 => ‘1’,
    1 => ‘1’,
    2 => ‘1’,
    3 => ‘1’,
    4 => ‘1’,
    5 => ‘1’,
    6 => ‘1’,
    7 => ‘1’,
    8 => ‘1’,
    ),
    ‘_encloseme’ =>
    array (
    0 => ‘1’,
    1 => ‘1’,
    2 => ‘1’,
    3 => ‘1’,
    4 => ‘1’,
    5 => ‘1’,
    6 => ‘1’,
    7 => ‘1’,
    8 => ‘1’,
    ),
    ‘featured_img_display’ =>
    array (
    0 => ‘Yes’,
    ),
    ‘_expiration-date-status’ =>
    array (
    0 => ‘saved’,
    ),
    )

    2018-10-25 20:40:49.5562 ThreeWP_Broadcast: Custom fields: Post has a thumbnail (featured image): 7
    2018-10-25 20:40:49.5564 ThreeWP_Broadcast: Custom fields: Keeping custom field _edit_lock
    2018-10-25 20:40:49.5565 ThreeWP_Broadcast: Custom fields: Keeping custom field _edit_last
    2018-10-25 20:40:49.5565 ThreeWP_Broadcast: Custom fields: Keeping custom field _pingme
    2018-10-25 20:40:49.5565 ThreeWP_Broadcast: Custom fields: Keeping custom field _encloseme
    2018-10-25 20:40:49.5566 ThreeWP_Broadcast: Custom fields: Keeping custom field featured_img_display
    2018-10-25 20:40:49.5566 ThreeWP_Broadcast: Custom fields: Keeping custom field _expiration-date-status
    2018-10-25 20:40:49.5567 ThreeWP_Broadcast: Sticky data found in POST.
    2018-10-25 20:40:49.5567 ThreeWP_Broadcast: Post sticky status: 0
    2018-10-25 20:40:49.5568 ThreeWP_Broadcast: Not clearing the POST.
    2018-10-25 20:40:49.5573 ThreeWP_Broadcast: BROADCAST_UTILITIES_PACK_VERSION version: 43.7
    2018-10-25 20:40:49.5574 ThreeWP_Broadcast: Active pack plugins: CDN_Workaround, User_Role_Sync
    2018-10-25 20:40:49.5587 ThreeWP_Broadcast: My license key is ~8437462e
    2018-10-25 20:40:49.5589 ThreeWP_Broadcast: The attachment data is:
    array (
    7 =>
    threewp_broadcast\attachment_data::__set_state(array(
    ‘filename_base’ => ‘broadcast_1540412623.jpeg’,
    ‘filename_path’ => ‘/srv/sites/briwebapp.net/wp-content/uploads/sites/14/2018/10/broadcast_1540412623.jpeg’,
    ‘file_metadata’ =>
    array (
    ‘width’ => 5184,
    ‘height’ => 3456,
    ‘file’ => ‘2018/10/broadcast_1540412623.jpeg’,
    ‘sizes’ =>
    array (
    ‘thumbnail’ =>
    array (
    ‘file’ => ‘broadcast_1540412623-150×150.jpeg’,
    ‘width’ => 150,
    ‘height’ => 150,
    ‘mime-type’ => ‘image/jpeg’,
    ),
    ‘medium’ =>
    array (
    ‘file’ => ‘broadcast_1540412623-300×200.jpeg’,
    ‘width’ => 300,
    ‘height’ => 200,
    ‘mime-type’ => ‘image/jpeg’,
    ),
    ‘medium_large’ =>
    array (
    ‘file’ => ‘broadcast_1540412623-768×512.jpeg’,
    ‘width’ => 768,
    ‘height’ => 512,
    ‘mime-type’ => ‘image/jpeg’,
    ),
    ‘large’ =>
    array (
    ‘file’ => ‘broadcast_1540412623-1024×683.jpeg’,
    ‘width’ => 1024,
    ‘height’ => 683,
    ‘mime-type’ => ‘image/jpeg’,
    ),
    ),
    ‘image_meta’ =>
    array (
    ‘aperture’ => ‘4’,
    ‘credit’ => ”,
    ‘camera’ => ‘Canon EOS REBEL T5i’,
    ‘caption’ => ”,
    ‘created_timestamp’ => ‘0’,
    ‘copyright’ => ”,
    ‘focal_length’ => ’18’,
    ‘iso’ => ‘800’,
    ‘shutter_speed’ => ‘0.016666666666667’,
    ‘title’ => ”,
    ‘orientation’ => ‘0’,
    ‘keywords’ =>
    array (
    ),
    ),
    ),
    ‘id’ => ‘7’,
    ‘guid’ => NULL,
    ‘post_custom’ =>
    array (
    ‘_wp_attached_file’ =>
    array (
    0 => ‘2018/10/broadcast_1540412623.jpeg’,
    ),
    ‘_wp_attachment_metadata’ =>
    array (
    0 => ‘a:5:{s:5:”width”;i:5184;s:6:”height”;i:3456;s:4:”file”;s:33:”2018/10/broadcast_1540412623.jpeg”;s:5:”sizes”;a:4:{s:9:”thumbnail”;a:4:{s:4:”file”;s:33:”broadcast_1540412623-150×150.jpeg”;s:5:”width”;i:150;s:6:”height”;i:150;s:9:”mime-type”;s:10:”image/jpeg”;}s:6:”medium”;a:4:{s:4:”file”;s:33:”broadcast_1540412623-300×200.jpeg”;s:5:”width”;i:300;s:6:”height”;i:200;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”medium_large”;a:4:{s:4:”file”;s:33:”broadcast_1540412623-768×512.jpeg”;s:5:”width”;i:768;s:6:”height”;i:512;s:9:”mime-type”;s:10:”image/jpeg”;}s:5:”large”;a:4:{s:4:”file”;s:34:”broadcast_1540412623-1024×683.jpeg”;s:5:”width”;i:1024;s:6:”height”;i:683;s:9:”mime-type”;s:10:”image/jpeg”;}}s:10:”image_meta”;a:12:{s:8:”aperture”;s:1:”4″;s:6:”credit”;s:0:””;s:6:”camera”;s:19:”Canon EOS REBEL T5i”;s:7:”caption”;s:0:””;s:17:”created_timestamp”;s:1:”0″;s:9:”copyright”;s:0:””;s:12:”focal_length”;s:2:”18″;s:3:”iso”;s:3:”800″;s:13:”shutter_speed”;s:17:”0.016666666666667″;s:5:”title”;s:0:””;s:11:”orientation”;s:1:”0″;s:8:”keywords”;a:0:{}}}’,
    ),
    ),
    ‘_wp_attachment_image_alt’ => NULL,
    ‘post’ =>
    WP_Post::__set_state(array(
    ‘ID’ => 7,
    ‘post_author’ => ‘1’,
    ‘post_date’ => ‘2018-10-24 20:23:43’,
    ‘post_date_gmt’ => ‘2018-10-24 20:23:43’,
    ‘post_content’ => ”,
    ‘post_title’ => ‘Broadcast’,
    ‘post_excerpt’ => ‘Pixabay at Pexels!!’,
    ‘post_status’ => ‘inherit’,
    ‘comment_status’ => ‘open’,
    ‘ping_status’ => ‘closed’,
    ‘post_password’ => ”,
    ‘post_name’ => ‘broadcast’,
    ‘to_ping’ => ”,
    ‘pinged’ => ”,
    ‘post_modified’ => ‘2018-10-24 20:24:04’,
    ‘post_modified_gmt’ => ‘2018-10-24 20:24:04’,
    ‘post_content_filtered’ => ”,
    ‘post_parent’ => 0,
    ‘guid’ => ‘http://briwebapp.net/chyrfm/wp-content/uploads/sites/14/2018/10/broadcast_1540412623.jpeg’,
    ‘menu_order’ => 0,
    ‘post_type’ => ‘attachment’,
    ‘post_mime_type’ => ‘image/jpeg’,
    ‘comment_count’ => ‘0’,
    ‘filter’ => ‘raw’,
    )),
    ‘attached_to_parent’ => false,
    )),
    )

    2018-10-25 20:40:49.5589 ThreeWP_Broadcast: Beginning child broadcast loop to blogs
    threewp_broadcast\blog_collection::__set_state(array(
    ‘items’ =>
    array (
    15 =>
    threewp_broadcast\broadcast_data\blog::__set_state(array(
    ‘id’ => 15,
    ‘blogname’ => NULL,
    ‘disabled’ => false,
    ‘domain’ => NULL,
    ‘linked’ => false,
    ‘path’ => NULL,
    ‘required’ => false,
    ‘selected’ => false,
    )),
    ),
    ))

    2018-10-25 20:40:49.5594 ThreeWP_Broadcast: Switched to blog Windsor’s Country 95.9 & 92.7 (15)
    2018-10-25 20:40:49.5603 ThreeWP_Broadcast: Site URL is http://briwebapp.net/cjwffm and upload dir is now
    array (
    ‘path’ => ‘/srv/sites/briwebapp.net/wp-content/uploads/sites/15/2018/10’,
    ‘url’ => ‘http://briwebapp.net/cjwffm/wp-content/uploads/sites/15/2018/10’,
    ‘subdir’ => ‘/2018/10’,
    ‘basedir’ => ‘/srv/sites/briwebapp.net/wp-content/uploads/sites/15’,
    ‘baseurl’ => ‘http://briwebapp.net/cjwffm/wp-content/uploads/sites/15’,
    ‘error’ => false,
    )
    which comes from
    array (
    ‘ms_dir’ => ‘/sites/15’,
    ‘ms_files_rewriting option’ => false,
    ‘upload_path option’ => ”,
    )

    2018-10-25 20:40:49.5604 ThreeWP_Broadcast: Ignoring post’s parent.
    2018-10-25 20:40:49.5605 ThreeWP_Broadcast: Creating a new post:
    WP_Post::__set_state(array(
    ‘post_author’ => ‘1’,
    ‘post_date’ => ‘2018-10-24 20:53:42’,
    ‘post_date_gmt’ => ‘2018-10-24 20:53:42’,
    ‘post_content’ => ‘Test2’,
    ‘post_title’ => ‘Broadcast’,
    ‘post_excerpt’ => ”,
    ‘post_status’ => ‘publish’,
    ‘comment_status’ => ‘open’,
    ‘ping_status’ => ‘open’,
    ‘post_password’ => ”,
    ‘post_name’ => ‘broadcast’,
    ‘to_ping’ => ”,
    ‘pinged’ => ”,
    ‘post_modified’ => ‘2018-10-25 20:40:49’,
    ‘post_modified_gmt’ => ‘2018-10-25 20:40:49’,
    ‘post_content_filtered’ => ”,
    ‘post_parent’ => 0,
    ‘menu_order’ => 0,
    ‘post_type’ => ‘post’,
    ‘post_mime_type’ => ”,
    ‘comment_count’ => 0,
    ‘filter’ => ‘raw’,
    ))

    2018-10-25 20:40:49.5605 ThreeWP_Broadcast: Running wp_insert_post with
    WP_Post::__set_state(array(
    ‘post_author’ => ‘1’,
    ‘post_date’ => ‘2018-10-24 20:53:42’,
    ‘post_date_gmt’ => ‘2018-10-24 20:53:42’,
    ‘post_content’ => ‘Test2’,
    ‘post_title’ => ‘Broadcast’,
    ‘post_excerpt’ => ”,
    ‘post_status’ => ‘publish’,
    ‘comment_status’ => ‘open’,
    ‘ping_status’ => ‘open’,
    ‘post_password’ => ”,
    ‘post_name’ => ‘broadcast’,
    ‘to_ping’ => ”,
    ‘pinged’ => ”,
    ‘post_modified’ => ‘2018-10-25 20:40:49’,
    ‘post_modified_gmt’ => ‘2018-10-25 20:40:49’,
    ‘post_content_filtered’ => ”,
    ‘post_parent’ => 0,
    ‘menu_order’ => 0,
    ‘post_type’ => ‘post’,
    ‘post_mime_type’ => ”,
    ‘comment_count’ => 0,
    ‘filter’ => ‘raw’,
    ))

    2018-10-25 20:40:49.6734 ThreeWP_Broadcast: Blog is switched. Not broadcasting.
    2018-10-25 20:40:49.6735 ThreeWP_Broadcast: New child created: 16
    2018-10-25 20:40:49.6735 ThreeWP_Broadcast: Adding link to child.
    2018-10-25 20:40:49.6737 ThreeWP_Broadcast: Setting post_date date column to 2018-10-24 20:53:42
    2018-10-25 20:40:49.6738 ThreeWP_Broadcast: Setting post_modified date column to 2018-10-25 20:40:49
    2018-10-25 20:40:49.0682 ThreeWP_Broadcast: Equivalent of 14/6 is 15/16
    2018-10-25 20:40:49.6843 ThreeWP_Broadcast: 0 attachments to remove.
    2018-10-25 20:40:49.6844 ThreeWP_Broadcast: Copying attachments to the child blog.
    2018-10-25 20:40:49.6844 ThreeWP_Broadcast: Looking through 1 attachments.
    2018-10-25 20:40:49.6845 ThreeWP_Broadcast: The attachment’s post parent is 0.
    2018-10-25 20:40:49.6845 ThreeWP_Broadcast: Resetting post parent for attachment 7.
    2018-10-25 20:40:49.6846 ThreeWP_Broadcast: Maybe copy attachment: Searching for attachment posts with the name broadcast: SELECT ID FROM bri_15_posts WHERE post_type = ‘attachment’ AND post_name = ‘broadcast’
    2018-10-25 20:40:49.6856 ThreeWP_Broadcast: Maybe copy attachment: Found 1 attachment posts.
    2018-10-25 20:40:49.6866 ThreeWP_Broadcast: Found attachment broadcast and we are looking for broadcast.
    2018-10-25 20:40:49.6867 ThreeWP_Broadcast: Maybe copy attachment: The action for existing attachments is to use.
    2018-10-25 20:40:49.6868 ThreeWP_Broadcast: Maybe copy attachment: Using existing attachment 5.
    2018-10-25 20:40:49.0688 ThreeWP_Broadcast: CDN_Workaround: Overriding path /srv/sites/briwebapp.net/wp-content/uploads/sites/15/2018/10/broadcast_1540412623.jpeg with http://briwebapp.net/cjwffm/wp-content/uploads/sites/15/2018/10/broadcast_1540412623.jpeg
    2018-10-25 20:40:49.6882 ThreeWP_Broadcast: Copied attachment 7 to 5. 1 attachments known.
    2018-10-25 20:40:49.6882 ThreeWP_Broadcast: Taxonomies: Starting sync of category, post_tag, post_format
    2018-10-25 20:40:49.6882 ThreeWP_Broadcast: Taxonomies: Handling taxonomy category
    2018-10-25 20:40:49.7096 ThreeWP_Broadcast: Taxonomies: Syncing terms for category.
    2018-10-25 20:40:49.7112 ThreeWP_Broadcast: Target terms:
    array (
    1 =>
    WP_Term::__set_state(array(
    ‘term_id’ => 1,
    ‘name’ => ‘Uncategorized’,
    ‘slug’ => ‘uncategorized’,
    ‘term_group’ => 0,
    ‘term_taxonomy_id’ => 1,
    ‘taxonomy’ => ‘category’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => 0,
    ‘filter’ => ‘raw’,
    )),
    )

    2018-10-25 20:40:49.7113 ThreeWP_Broadcast: Find out which of the source terms exist on the target blog.
    2018-10-25 20:40:49.7113 ThreeWP_Broadcast: Found source term uncategorized. Source ID: 1. Target ID: 1.
    2018-10-25 20:40:49.7114 ThreeWP_Broadcast: 0 taxonomies are missing on this blog.
    2018-10-25 20:40:49.7114 ThreeWP_Broadcast: About to update taxonomy terms.
    2018-10-25 20:40:49.7115 ThreeWP_Broadcast: wp_update_term:
    WP_Term::__set_state(array(
    ‘term_id’ => ‘1’,
    ‘name’ => ‘Uncategorized’,
    ‘slug’ => ‘uncategorized’,
    ‘term_group’ => ‘0’,
    ‘term_taxonomy_id’ => ‘1’,
    ‘taxonomy’ => ‘category’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => ‘0’,
    ‘filter’ => ‘raw’,
    ))

    2018-10-25 20:40:49.7116 ThreeWP_Broadcast: Will not update the term Uncategorized.
    2018-10-25 20:40:49.7117 ThreeWP_Broadcast: Taxonomies: Synced terms for category.
    2018-10-25 20:40:49.7132 ThreeWP_Broadcast: Found term 1 for original term 1.
    2018-10-25 20:40:49.7342 ThreeWP_Broadcast: Setting taxonomies for category:
    array (
    0 => 1,
    )

    2018-10-25 20:40:49.7565 ThreeWP_Broadcast: Taxonomies: Handling taxonomy post_tag
    2018-10-25 20:40:49.0758 ThreeWP_Broadcast: Taxonomies: Syncing terms for post_tag.
    2018-10-25 20:40:49.7605 ThreeWP_Broadcast: Target terms:
    array (
    2 =>
    WP_Term::__set_state(array(
    ‘term_id’ => 2,
    ‘name’ => ‘test’,
    ‘slug’ => ‘test’,
    ‘term_group’ => 0,
    ‘term_taxonomy_id’ => 2,
    ‘taxonomy’ => ‘post_tag’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => 0,
    ‘filter’ => ‘raw’,
    )),
    )

    2018-10-25 20:40:49.7605 ThreeWP_Broadcast: Find out which of the source terms exist on the target blog.
    2018-10-25 20:40:49.7606 ThreeWP_Broadcast: Found source term test. Source ID: 2. Target ID: 2.
    2018-10-25 20:40:49.7606 ThreeWP_Broadcast: 0 taxonomies are missing on this blog.
    2018-10-25 20:40:49.7607 ThreeWP_Broadcast: About to update taxonomy terms.
    2018-10-25 20:40:49.7607 ThreeWP_Broadcast: wp_update_term:
    WP_Term::__set_state(array(
    ‘term_id’ => ‘2’,
    ‘name’ => ‘test’,
    ‘slug’ => ‘test’,
    ‘term_group’ => ‘0’,
    ‘term_taxonomy_id’ => ‘2’,
    ‘taxonomy’ => ‘post_tag’,
    ‘description’ => ”,
    ‘parent’ => 0,
    ‘count’ => ‘0’,
    ‘filter’ => ‘raw’,
    ))

    2018-10-25 20:40:49.7608 ThreeWP_Broadcast: Will not update the term test.
    2018-10-25 20:40:49.7609 ThreeWP_Broadcast: Taxonomies: Synced terms for post_tag.
    2018-10-25 20:40:49.7623 ThreeWP_Broadcast: Found term 2 for original term 2.
    2018-10-25 20:40:49.7643 ThreeWP_Broadcast: Setting taxonomies for post_tag:
    array (
    0 => 2,
    )

    2018-10-25 20:40:49.7856 ThreeWP_Broadcast: Taxonomies: Handling taxonomy post_format
    2018-10-25 20:40:49.7872 ThreeWP_Broadcast: Taxonomies: Syncing terms for post_format.
    2018-10-25 20:40:49.7885 ThreeWP_Broadcast: Target terms:
    array (
    )

    2018-10-25 20:40:49.7886 ThreeWP_Broadcast: Find out which of the source terms exist on the target blog.
    2018-10-25 20:40:49.7887 ThreeWP_Broadcast: 0 taxonomies are missing on this blog.
    2018-10-25 20:40:49.7887 ThreeWP_Broadcast: About to update taxonomy terms.
    2018-10-25 20:40:49.7888 ThreeWP_Broadcast: Taxonomies: Synced terms for post_format.
    2018-10-25 20:40:49.079 ThreeWP_Broadcast: No taxonomy terms for post_format
    2018-10-25 20:40:49.7901 ThreeWP_Broadcast: Taxonomies: Finished.
    2018-10-25 20:40:49.7904 ThreeWP_Broadcast: Checking for post modifications.
    2018-10-25 20:40:49.7905 ThreeWP_Broadcast: No need to modify the post.
    2018-10-25 20:40:49.7905 ThreeWP_Broadcast: Custom fields: Started.
    2018-10-25 20:40:49.7907 ThreeWP_Broadcast: Custom fields of the child post:
    array (
    ‘_pingme’ =>
    array (
    0 => ‘1’,
    ),
    ‘_encloseme’ =>
    array (
    0 => ‘1’,
    ),
    ‘_expiration-date-status’ =>
    array (
    0 => ‘saved’,
    ),
    ‘featured_img_display’ =>
    array (
    0 => ‘Yes’,
    ),
    )

    2018-10-25 20:40:49.7907 ThreeWP_Broadcast: Custom fields: Deleting custom field _pingme.
    2018-10-25 20:40:49.7995 ThreeWP_Broadcast: Custom fields: Deleting custom field _encloseme.
    2018-10-25 20:40:49.8081 ThreeWP_Broadcast: Custom fields: Deleting custom field _expiration-date-status.
    2018-10-25 20:40:49.8168 ThreeWP_Broadcast: Custom fields: Deleting custom field featured_img_display.
    2018-10-25 20:40:49.8251 ThreeWP_Broadcast: Custom fields: Adding array value _edit_lock
    2018-10-25 20:40:49.8339 ThreeWP_Broadcast: Custom fields: Adding array value _edit_last
    2018-10-25 20:40:49.8416 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.8502 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.8582 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.8672 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.8756 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.8844 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.0893 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.9014 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.091 ThreeWP_Broadcast: Custom fields: Adding array value _pingme
    2018-10-25 20:40:49.9174 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9258 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9339 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9422 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9502 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9583 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9667 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9742 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.0983 ThreeWP_Broadcast: Custom fields: Adding array value _encloseme
    2018-10-25 20:40:49.9922 ThreeWP_Broadcast: Custom fields: Adding array value featured_img_display
    2018-10-25 20:40:49.0034 ThreeWP_Broadcast: Custom fields: Adding array value _expiration-date-status
    2018-10-25 20:40:50.0116 ThreeWP_Broadcast: Handling post thumbnail for post 16. Thumbnail ID is now 5
    2018-10-25 20:40:50.0224 ThreeWP_Broadcast: Custom fields: Finished.
    2018-10-25 20:40:50.0225 ThreeWP_Broadcast: Sticky status: 0
    2018-10-25 20:40:50.0239 ThreeWP_Broadcast: Saving broadcast data of child:
    threewp_broadcast\BroadcastData::__set_state(array(
    ‘id’ => NULL,
    ‘blog_id’ => NULL,
    ‘post_id’ => NULL,
    ‘dataModified’ => true,
    ‘data’ =>
    array (
    ‘version’ => 2,
    ‘linked_parent’ =>
    array (
    ‘blog_id’ => 14,
    ‘post_id’ => 6,
    ),
    ),
    ))

    2018-10-25 20:40:50.0025 ThreeWP_Broadcast: Saving parent broadcast data:
    threewp_broadcast\BroadcastData::__set_state(array(
    ‘id’ => NULL,
    ‘blog_id’ => NULL,
    ‘post_id’ => NULL,
    ‘dataModified’ => true,
    ‘data’ =>
    array (
    ‘version’ => 2,
    ‘linked_children’ =>
    array (
    15 => 16,
    ),
    ),
    ))

    2018-10-25 20:40:50.0261 ThreeWP_Broadcast: Calculator. Basic setup: 90 seconds
    2018-10-25 20:40:50.0262 ThreeWP_Broadcast: Calculator. 1 attachments @ 60 seconds = 60 seconds
    2018-10-25 20:40:50.0262 ThreeWP_Broadcast: Calculator. Time saved for this post: 150 seconds

    Plugin Author edward_plainview

    (@edward_plainview)

    At first glance, it looks just fine. The last part I see is the saving of the broadcast data (link).

    So after broadcasting, and the link checkbox being checked, it doesn’t show the post as being linked? Does the child post say it is linked to the parent?

    Thread Starter jasonploegman

    (@jasonploegman)

    Both the child and parent don’t show as linked. Is there a data row I can check for on the sql server?

    Plugin Author edward_plainview

    (@edward_plainview)

    It almost sounds like the broadcast_data ID column doesn’t exist.

    Try Admin > Broadcast > Maintenance tab > Broadcast data check.

    That should check the broadcast data (link) table for errors.

    Thread Starter jasonploegman

    (@jasonploegman)

    I do get the message “The broadcast data table is missing the ID column. It should now have been created.
    Please rerun the test. If the test fails, then something is wrong with the database.”
    But rerunning the test gives me the same result.

    Plugin Author edward_plainview

    (@edward_plainview)

    That’s interesting. How can it not be able to create the ID column?

    Since the linking table is broken anyways, could you try using the Uninstall tab and then reactivating Broadcast network wide again?

    Thread Starter jasonploegman

    (@jasonploegman)

    Same issue after running the uninstall and network activating again. What table is it trying to update? The account should have full admin access to the database but I can double check it.

    Plugin Author edward_plainview

    (@edward_plainview)

    > wpdb->base_prefix . ‘_3wp_broadcast_broadcastdata’

    So in most cases it will be wp__3wp_broadcast_broadcastdata

    Thread Starter jasonploegman

    (@jasonploegman)

    Yea that table isn’t being created at all. Don’t understand why. This is on a Google Cloud SQL instance of MySQL 5.7.

    Plugin Author edward_plainview

    (@edward_plainview)

    Try creating the table manually. Although, I’m not sure BC will be able to access the table if it’s not allowed to create it… Oh well, worth a try, eh?

    CREATE TABLE IF NOT EXISTSwp__3wp_broadcast_broadcastdata` (
    id int(11) NOT NULL AUTO_INCREMENT COMMENT ‘ID of row’,
    blog_id int(11) NOT NULL COMMENT ‘Blog ID’,
    post_id int(11) NOT NULL COMMENT ‘Post ID’,
    data longtext,
    PRIMARY KEY (id),
    KEY blog_id (blog_id,post_id)
    ) DEFAULT CHARSET=latin1;
    `

    Thread Starter jasonploegman

    (@jasonploegman)

    That fixed it! I had to change remove the ` and change the ‘ to ‘ to make it valid. Perhaps it’s a mismatch between the SQL server and the plugin trying to create the database?

    Plugin Author edward_plainview

    (@edward_plainview)

    I think this comment editor is what is changing the apostrophes.

    Thread Starter jasonploegman

    (@jasonploegman)

    Yea you’re right I realized that after posting. No idea why I can manually add the table but the plugin won’t. Either way thanks for the help!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Posts Won’t Link to Children’ is closed to new replies.