Title: Error in PHP Error Log
Last modified: October 23, 2023

---

# Error in PHP Error Log

 *  Resolved [YellowWebMonkey Web Design](https://wordpress.org/support/users/marksa/)
 * (@marksa)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/error-in-php-error-log-3/)
 * Hi, I’m seeing an error in our PHP error log that began with the latest update:
   “
   Undefined array key “file” in /wp-content/plugins/insert-headers-and-footers/
   includes/class-wpcode-snippet-execute.php”
 * The site is on PHP 8.0. Can you please take a look at this?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/error-in-php-error-log-3/#post-17146029)
 * Hi [@marksa](https://wordpress.org/support/users/marksa/),
 * Thank you for reporting this issue, we just released a new version that takes
   care of it, please update and let us know if you run into any other issues.

Viewing 1 replies (of 1 total)

The topic ‘Error in PHP Error Log’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/error-in-php-error-log-3/#post-17146029)
 * Status: resolved