• Something wrong is happening here
    “/wordpress-seo/js/wp-seo-metabox.js” in “yst_replaceVariables” function.

    Due to which the scripts coming after this are not working.
    I think it came after updating “WordPress Seo” to “1.5.5.3” plugin.

    Uncaught TypeError: Cannot read property ‘replace’ of undefined wp-seo-metabox.min.js?ver=1.5.5.3:1

    yst_replaceVariables wp-seo-metabox.min.js?ver=1.5.5.3:1
    yst_updateTitle wp-seo-metabox.min.js?ver=1.5.5.3:1
    yst_updateSnippet wp-seo-metabox.min.js?ver=1.5.5.3:1
    (anonymous function) wp-seo-metabox.min.js?ver=1.5.5.3:1
    j load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-datepicke…:2
    k.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-datepicke…:2
    n.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-datepicke…:2
    K load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-datepicke…:2

    https://ww.wp.xz.cn/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yup, same here.

    Some further info…

    Line 132 is this excerpt = jQuery("#content").val().replace(/(<([^>]+)>)/ig,"").substring(0,wpseoMetaboxL10n.wpseo_meta_desc_length-1);

    If you have a custom post type that doesn’t have a content field, then this throws an error since jQuery(‘#content’) doesn’t exist.

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

The topic ‘Bug in the Plugin’ is closed to new replies.