• er777

    (@er777)


    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 ]

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    >Uncaught SyntaxError: Unexpected token <

    Check the page source HTML. I think it contains a PHP error message

    Stanislav

    Thread Starter er777

    (@er777)

    Thanks for the response!

    I believe it is javascript:
    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/

    Thank you!

    Plugin Author Pektsekye

    (@pektsekye)

    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.