Support » Plugin: ReOrder Post Within Categories » PHP Notice: Undefined offset

  • Error:

    Notice: Undefined offset: 4 in wp-content/plugins/reorder-post-within-categories/reorder-posts-within-categories.php on line 84
    
    Notice: Undefined offset: 4 in wp-content/plugins/reorder-post-within-categories/reorder-posts-within-categories.php on line 131
    
    Notice: Undefined offset: 4 in wp-content/plugins/reorder-post-within-categories/reorder-posts-within-categories.php on line 107

    Problem:

    if($userOrderOptionSetting[$theID] == "true" && $this->stop_join == false){...}

    Fix:

    if(!empty($userOrderOptionSetting[$theID]) && $userOrderOptionSetting[$theID] == "true" && $this->stop_join == false){...}

    https://wordpress.org/plugins/reorder-post-within-categories/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined offset’ is closed to new replies.