• Resolved atkulp

    (@atkulp)


    Error (E_WARNING): “Undefined variable $id“ at ./wp-content/plugins/publishpress/modules/editorial-metadata/editorial-metadata.php:607

    if ($post->post_status === ‘publish’) {
    wp_set_object_terms($id, $term_slugs, self::metadata_taxonomy);
    }

    I’m assuming $id should be $post->ID.

Viewing 1 replies (of 1 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @atkulp

    After we trace down the code, we are able to see the issue. We have added a task to fix this issue and it will be released in the future release. Thanks for the report.

    Best,

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable causing error’ is closed to new replies.