Viewing 1 replies (of 1 total)
  • Anonymous User 9055193

    (@anonymized-9055193)

    @sem101, when receiving, “Undefined Index,” notices from PHP, usually a key is not set. You check if it’s set with:

    isset()

    Example:

    MRP_save_relationships( $post_id, isset( $_POST['MRP_related_posts'] ) );

    The developer may wish to add a ternary operator as well. Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index: MRP_related_posts’ is closed to new replies.