Title: Errors when adding a new product
Last modified: May 15, 2018

---

# Errors when adding a new product

 *  Resolved [Wilfred Helmig](https://wordpress.org/support/users/kaosnews/)
 * (@kaosnews)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-a-new-product/)
 * I receive the following errors when I add a new product:
 *     ```
       Notice: Undefined offset: 0 in /home/domains/site.com/public_html/webshop/wp-content/plugins/woo-permalink-manager/src/PermalinkListener.php on line 212
   
       Notice: Trying to get property of non-object in /home/domains/site.com/public_html/webshop/wp-content/plugins/woo-permalink-manager/src/PermalinkListener.php on line 161
   
       Notice: Trying to get property of non-object in /home/domains/site.com/public_html/webshop/wp-content/plugins/woo-permalink-manager/src/PermalinkListener.php on line 163
       ```
   
 * When I save the product the errors are gone. I think that the problem is that
   when you add a product there is no slug (and when you save the page – then there
   is a slug and no errors)

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

 *  Plugin Author [Premmerce](https://wordpress.org/support/users/premmerce/)
 * (@premmerce)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-a-new-product/#post-10282586)
 * Hi!
 * Sorry for the inconvenience.
    We’ll fix this issue in the nearest future. The
   temporary solution is to add all products to categories or do not use the following
   options in the Permalink Manager: “Product slug with primary product” and “Full
   product path”.
 * Best regards!
    Premmerce support.
 *  Plugin Author [Premmerce](https://wordpress.org/support/users/premmerce/)
 * (@premmerce)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-a-new-product/#post-10295159)
 * Hi!
 * We’ve fixed this issue! Please check the update 2.0.1.
    Thank you for your help
   in improvement our plugin!
 * Best regards,
    Premmerce support
 *  Plugin Author [Premmerce](https://wordpress.org/support/users/premmerce/)
 * (@premmerce)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-a-new-product/#post-10331366)
 * Thanks for your request.
    If you still have any questions, please, contact us.
   We’re always happy to help
 * Best regards,
    Premmerce support.

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

The topic ‘Errors when adding a new product’ is closed to new replies.

 * ![](https://ps.w.org/woo-permalink-manager/assets/icon-256x256.png?rev=1840668)
 * [Premmerce Permalink Manager for WooCommerce](https://wordpress.org/plugins/woo-permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-permalink-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Premmerce](https://wordpress.org/support/users/premmerce/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/errors-when-adding-a-new-product/#post-10331366)
 * Status: resolved