Title: Undefined Index   post_type
Last modified: September 1, 2016

---

# Undefined Index post_type

 *  [liger](https://wordpress.org/support/users/liger/)
 * (@liger)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/undefined-index-post_type-1/)
 * Hi,
 * I am setting up a site with woocomerce + store front theme. But this applies 
   for many other themes as well.
 * when I do a search the page url returns as :
    [http://www.example.com/?s=shirts&post_type=product](http://www.example.com/?s=shirts&post_type=product)
 * and the page it self renders with a notice on top
 * Notice: Undefined index: product in /var/www/html/wp-content/plugins/qtranslate-
   slug/includes/class-qtranslate-slug.php on line 1000
 * Any idea?
 * [https://wordpress.org/plugins/qtranslate-slug/](https://wordpress.org/plugins/qtranslate-slug/)

Viewing 1 replies (of 1 total)

 *  [pcarvalho](https://wordpress.org/support/users/pcarvalho/)
 * (@pcarvalho)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-post_type-1/#post-8648741)
 * Hi Linger, thanks for raising that issue. I’m rewriting a significant part of
   the plugin, planning to be more compatible with woocommerce.
 * thanks,
    p.

Viewing 1 replies (of 1 total)

The topic ‘Undefined Index post_type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-slug_5fb35e.svg)
 * [Qtranslate Slug](https://wordpress.org/plugins/qtranslate-slug/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-slug/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-slug/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-slug/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-slug/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-slug/reviews/)

## Tags

 * [post-type](https://wordpress.org/support/topic-tag/post-type/)
 * [post_type](https://wordpress.org/support/topic-tag/post_type/)

 * 1 reply
 * 1 participant
 * Last reply from: [liger](https://wordpress.org/support/users/liger/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-post_type-1/)
 * Status: not resolved