• Resolved fortgordonmwr

    (@fortgordonmwr)


    I’m getting an error each time I try to preview or update a post. The error reads:
    “Uncaught TypeError: Cannot read property ‘settings’ of undefined”

    I’ve done some research on this issue and I’ve found that it has something to do with the jquery.validate.min.js script in Mashshare’s plugin folder. Apparently, this script is set up to search every form element on the page, including forms that belong to other plugins. This has caused a conflict with the “HTML Editor Syntax Highlighter” plugin that I’m using. Would it be the responsibility of Mashshare to ensure their validation script only affects their own form, or would it be the “HTML Editor Syntax Highlighter” developer that would need to alter their code in some way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can go into mashshare plugin includes/admin/meta-box/inc/validation.php and comment line 39 into

    // wp_enqueue_script( ‘jquery-validate’, MASHSB_RWMB_JS_URL . ‘jquery.validate.min.js’, array( ‘jquery’ ), MASHSB_RWMB_VER, true );

    This should not have any negative effect in using MashShare

    Thread Starter fortgordonmwr

    (@fortgordonmwr)

    Worked perfectly, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Validation Script in Conflict with other Plugin Fields’ is closed to new replies.