Title: WordPress error
Last modified: May 28, 2017

---

# WordPress error

 *  Resolved [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/)
 * Notice: Undefined offset: 1 in /home/fightmat/public_html/wp-content/themes/fightmatch/
   templates/content-author.php on line 138
 * Anyone understand this? Also anyone know anyone I can get to fix this? And finally
   how can this error just appear?
 * It is displayed on front end…

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174147)
 * $video_id = explode( “&”, $video_id[1] ); // Deleting any other params
 * This is the code in line 138…Can anyone help?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174365)
 * Where did you get the “fightmatch” theme from? I can’t find it.
 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174371)
 * Sage starter theme…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174386)
 * So it’s your programming error? 🙂 OK
 * The error says you’re looking at `$video_id[1]` when the array does not a “oneth”
   element. You need to test to see if the element exists before trying to use it…
 * Something like
 *     ```
       if( isset( $video_id[1] ) ) {
             $video_id = explode( “&”, $video_id[1] ); 
          } else {
             $video_id = false;
          }
       ```
   
    -  This reply was modified 8 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174396)
 * I’m not a programmer the site was perfect till a couple of weeks ago…I’ve had
   some css done on my events page, but can’t see that this would impact this…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174410)
 * That’s irrelevant. You have a coding error, probably because this one author 
   does not have the videos in his profile. Contact the person who developed this
   custom theme for you.
    -  This reply was modified 8 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174534)
 * So contact roots the theme together or the dev who put the site together, the
   baffling thing is not all users have the problem. Cheers anyway…
 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174537)
 * Not together, I meant developer…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174540)
 * Contact the developer; it’s not a sage issue.
 *  Thread Starter [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * (@fightmatchpromotions)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174542)
 * Thanks Steve 😊

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘WordPress error’ is closed to new replies.

## Tags

 * [error code](https://wordpress.org/support/topic-tag/error-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [fightmatchpromotions](https://wordpress.org/support/users/fightmatchpromotions/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-error-51/#post-9174542)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
