Title: PHP Warning
Last modified: July 8, 2024

---

# PHP Warning

 *  Resolved [haenaleap](https://wordpress.org/support/users/haenaleap/)
 * (@haenaleap)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-496/)
 * Hi there,
 * There seems to be a php warning coming from the plugin. Would you be able to 
   resolve it in the next version of the plugin or help provide a workaround that
   I can add to my site?
 *     ```wp-block-code
       Warning: Undefined array key "c7wp_enable_custom_routes" in /code/wp-content/plugins/wp-commerce7/includes/class-c7wp.php on line 682
       ```
   
 * Please let me know if I can provide more information.
 * Thank you!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Michael Bourne](https://wordpress.org/support/users/michaelbourne/)
 * (@michaelbourne)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-warning-496/#post-17899148)
 * If you resave the plugin options it will fix it. The last update should have 
   created those options to begin with to negate this warning, not sure how yours
   didn’t. I’ll add a fix next release.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-commerce7/assets/icon.svg?rev=2051516)
 * [Commerce7 for WordPress](https://wordpress.org/plugins/wp-commerce7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-commerce7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-commerce7/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-commerce7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-commerce7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-commerce7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Bourne](https://wordpress.org/support/users/michaelbourne/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/php-warning-496/#post-17899148)
 * Status: resolved