Title: Warning: Undefined array key &#8220;wc_data_template&#8221;
Last modified: September 11, 2023

---

# Warning: Undefined array key “wc_data_template”

 *  Resolved [jarousek](https://wordpress.org/support/users/jarousek/)
 * (@jarousek)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-wc_data_template/)
 * Hi guys,
 * I installed your plugin and put this shortcode _[qrcodetag\_from\_goaskle\_com/]_
   into email template. When I placed an order I see on the final page bellow this
   text:
 * “**Warning**: Undefined array key “wc_data_template” in **/www/doc/www.hochwasserohnesorgen.
   de/www/wp-content/plugins/qr-code-tag-for-wc-from-goaskle-com/lib/qrct/QrctWp.
   php** on line **1414**”
 * QR code is visible and under it is text with this issue.
 * It is related with your plugin. What is the problem, please?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-wc_data_template%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [www.15.to](https://wordpress.org/support/users/www15to/)
 * (@www15to)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-wc_data_template/#post-17043781)
 * Hello!
 * Thanks for you report. Just fixed in new version 1.9.27. Please update and let
   me know if any errors will be found.
 * Have a nice day
 *  Plugin Author [www.15.to](https://wordpress.org/support/users/www15to/)
 * (@www15to)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-wc_data_template/#post-17043789)
 * BTW. For standard Woocommerce you do not need to insert shortcode in templates.
   It is done using hooks in code. So just enable plugin and QR code must shown 
   in all emails ( if you did not changed any plugin settings ).

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

The topic ‘Warning: Undefined array key “wc_data_template”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qr-code-tag-for-wc-from-goaskle-com_eff6f9.
   svg)
 * [QR Code for WooCommerce order emails, PDF invoices, packing slips](https://wordpress.org/plugins/qr-code-tag-for-wc-from-goaskle-com/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qr-code-tag-for-wc-from-goaskle-com/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qr-code-tag-for-wc-from-goaskle-com/)
 * [Active Topics](https://wordpress.org/support/plugin/qr-code-tag-for-wc-from-goaskle-com/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qr-code-tag-for-wc-from-goaskle-com/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qr-code-tag-for-wc-from-goaskle-com/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [www.15.to](https://wordpress.org/support/users/www15to/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-wc_data_template/#post-17043789)
 * Status: resolved