Title: Undefined array key template_file
Last modified: May 30, 2022

---

# Undefined array key template_file

 *  Resolved [Axel DUCORON](https://wordpress.org/support/users/aksl95/)
 * (@aksl95)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-template_file/)
 * Hello,
 * I have this following warning :
 * `Error (E_WARNING): “Undefined array key “template_file““ at ./web/app/plugins/
   query-monitor/output/html/theme.php:64`
 * I don’t know where to look. Thanks for your help
    -  This topic was modified 3 years, 10 months ago by [Axel DUCORON](https://wordpress.org/support/users/aksl95/).

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

 *  Thread Starter [Axel DUCORON](https://wordpress.org/support/users/aksl95/)
 * (@aksl95)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-template_file/#post-15693477)
 * I found it !
 * I forgot to add die; after my wp_redirect !
 * Sorry
 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-template_file/#post-15702587)
 * Thanks for letting me know!

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

The topic ‘Undefined array key template_file’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-template_file/#post-15702587)
 * Status: resolved