Support » Plugin: Publish To Apple News » Multiple Errors on Custom Post Type Edit Screen

  • FWI, I just installed this plugin on an existing theme and noticed a few errors. The errors are gone when ‘Show a publish meta box on the post types that have Apple News enabled’ is set to no.

    [Warning]

    Missing argument 2 for Admin_Apple_Meta_Boxes::add_meta_boxes()
    wp-content/plugins/publish-to-apple-news/admin/class-admin-apple-meta-boxes.php:91

    [Notice]

    Undefined variable: post
    wp-content/plugins/publish-to-apple-news/admin/class-admin-apple-meta-boxes.php:93

    Trying to get property of non-object
    wp-content/plugins/publish-to-apple-news/admin/class-admin-apple-meta-boxes.php:93

    Undefined variable: post
    wp-content/plugins/publish-to-apple-news/admin/class-admin-apple-meta-boxes.php:102

    Trying to get property of non-object
    wp-content/plugins/publish-to-apple-news/admin/class-admin-apple-meta-boxes.php:102

    https://wordpress.org/plugins/publish-to-apple-news/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jesse Graupmann

    (@jgraup)

    Update:

    This also extends to normal posts as well.

    Can you also expand on this description?

    (Choose the post types that are eligible for publishing to Apple News.)

    Which types would be eligible if the majority of my site is made of CPT?

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    All of these issues are resolved in the latest version of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Errors on Custom Post Type Edit Screen’ is closed to new replies.