Title: PHP errors
Last modified: September 19, 2023

---

# PHP errors

 *  Resolved [pesiiin](https://wordpress.org/support/users/pesiiin/)
 * (@pesiiin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/)
 * Hi, login to WP with Contributor role (With Admin or Member it is OK) cause this
   error: Undefined array key 1 in /data/web/virtuals/314931/virtual/www/wp-content/
   plugins/event-page-templates-addon-for-the-events-calendar/the-events-calendar-
   event-details-page-templates.php on line 62. + 5 errors “Cannot modify header
   information” in WP core files. If I remove line 62 ($test1 = $menuItems[1];),
   everithing works fine.

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

 *  [shubham0095](https://wordpress.org/support/users/shubham0095/)
 * (@shubham0095)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/#post-17062842)
 * Hi [@pesiiin](https://wordpress.org/support/users/pesiiin/) 
   Sorry for the inconvenience.
   This is a known issue and we will be soon releasing the plugin update with the
   fix.To make it work till the update comes. File path – /wp-content/plugins/event-
   page-templates-addon-for-the-events-calendar/the-events-calendar-event-details-
   page-templates.phpPlease change the line number 62 with the line given below:
   $test1 = isset( $menuItems[1] ) ? $menuItems[1] : ”;Let me know if you still 
   face any issues.
 *  Thread Starter [pesiiin](https://wordpress.org/support/users/pesiiin/)
 * (@pesiiin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/#post-17068815)
 * Hi, I’m happy with delete line 62 solution. I’ll wait for update 😉
 * Thanx
 *  [shubham0095](https://wordpress.org/support/users/shubham0095/)
 * (@shubham0095)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/#post-17070885)
 * Hi [@pesiiin](https://wordpress.org/support/users/pesiiin/)
 * We have released the update of the plugin today.
   Please install the latest version
   of our plugin i.e 1.6.8Let us know if you face any issues after the update.Thanks&
   Regards
 *  Thread Starter [pesiiin](https://wordpress.org/support/users/pesiiin/)
 * (@pesiiin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/#post-17071015)
 * No issues, thank You.

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

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://ps.w.org/event-page-templates-addon-for-the-events-calendar/assets/
   icon-256x256.gif?rev=3346162)
 * [Event Single Page Builder For The Events Calendar](https://wordpress.org/plugins/event-page-templates-addon-for-the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-page-templates-addon-for-the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-page-templates-addon-for-the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/event-page-templates-addon-for-the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-page-templates-addon-for-the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-page-templates-addon-for-the-events-calendar/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pesiiin](https://wordpress.org/support/users/pesiiin/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-304/#post-17071015)
 * Status: resolved