Title: Plugin Stopped working
Last modified: November 11, 2018

---

# Plugin Stopped working

 *  [er777](https://wordpress.org/support/users/er777/)
 * (@er777)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-stopped-working-154/)
 * Hi,
 * This initially worked great and still works on the front end. But the back end
   does not allow viewing of existing options nor the addition of new options. The
   Add Options button just does not work;
 * Error I see is:
 * post.php?post=454&action=edit:1167 Uncaught TypeError: Cannot read property ‘
   extend’ of undefined
    at post.php?post=454&action=edit:1167
 * `post.php?post=454&action=edit:1167 Uncaught TypeError: Cannot read property '
   extend' of undefined`
 * `$.extend(config, optionData);`
 * and
 * `Uncaught SyntaxError: Unexpected token <`
 * POST:
 * _[ redundant link removed ]_
    -  This topic was modified 7 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-stopped-working-154%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * (@pektsekye)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-stopped-working-154/#post-10869250)
 * Hello,
 * >Uncaught SyntaxError: Unexpected token <
 * Check the page source HTML. I think it contains a PHP error message
 * Stanislav
 *  Thread Starter [er777](https://wordpress.org/support/users/er777/)
 * (@er777)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-stopped-working-154/#post-10869295)
 * Thanks for the response!
 * I believe it is javascript:
    [https://www.dropbox.com/s/mpk3gojw5o99k8k/error.png?dl=0](https://www.dropbox.com/s/mpk3gojw5o99k8k/error.png?dl=0)
 * but I have just de-activated a new plugin I installed and the error disappeared…!
 * So I must sleuth it. Can I ask – This data that is causing the problem: ( extend?,
   config ?, optionData?)
 * I am trying to find help here: [https://dmitripavlutin.com/7-tips-to-handle-undefined-in-javascript/](https://dmitripavlutin.com/7-tips-to-handle-undefined-in-javascript/)
 * Thank you!
 *  Plugin Author [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * (@pektsekye)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-stopped-working-154/#post-10869390)
 * Hello,
 * The error:
    Cannot read property ‘extend’ on undefined on the line: $.extend();
 * means that $ is not defined. $ is the jQuery library.
    So the jQuery was not 
   loaded.
 * The more serious error is:
    Uncaught SyntaxError: Unexpected token <
 * It looks like there is a PHP error inside <script> JavaScript …</script> tags.
 * So you have to check the page HTML source to see the error message.
 * Stanislav

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

The topic ‘Plugin Stopped working’ is closed to new replies.

 * ![](https://ps.w.org/product-options-for-woocommerce/assets/icon-256x256.png?
   rev=1892402)
 * [Simple Product Options for WooCommerce](https://wordpress.org/plugins/product-options-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/product-options-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/product-options-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-options-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-options-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-stopped-working-154/#post-10869390)
 * Status: not resolved