• On Edit Post, JS error is showing as shown here:

    wp-seo-post-scraper-760.min.js?ver=7.6:33 Uncaught TypeError: t.val is not a function
        at e.value (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at e.value (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at e.value (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at l (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at d (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at HTMLDocument.F (wp-seo-post-scraper-760.min.js?ver=7.6:33)
        at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.6:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.6:2)
        at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.6:2)
        at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.6:2)

    It is occurring due to calling the val() function by ID object whereas it should be value. val() is used in jQuery.
    Like: t.va() should be replaced with t.value.

    Please fix this issue ASAP. It’s creating different issues in edit post/page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Can you confirm you are on WP v4.9.6 and Yoast SEO for WordPress v7.6?

    That sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    Thread Starter Sami Ahmed Siddiqui

    (@sasiddiqui)

    @mikes41720 This issue is occurring with the conflict of Custom Permalinks and Yoast SEO. Error is in the Yoast SEO JS File (wp-seo-post-scraper-760.min.js). You just need to install the Custom Permalinks Plugin and open any post which have the postname defined. Then check the console. You will find the error.

    In this file, it is creating the Object by calling getElementById and then using this object to calling val() function. In actual it should be value. You may consider this typo but that’s a big issue customers are facing on.

    Whereas it comes to Premium Version, so this issue doesn’t exist in the Premium Version of Yoast SEO. This issue just raises in the Latest version of the plugin before that everything works fine..

    Thanks,
    Sami

    Hi I have the exact same issue using WP v4.9.6 and Yoast premium SEO for WordPress v7.6?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    @sasiddiqui Unfortunately, we were unable to reproduce the issue on our end while using the Yoast SEO v7.6.1 and the 3rd party Custom Permalinks plugin v1.3.0 is active.

    If you still experiencing this issue on the Yoast SEO v7.6.1, would you mind elaborating more on how to reproduce the issue step by step so that we can investigate this issue further?

    Thread Starter Sami Ahmed Siddiqui

    (@sasiddiqui)

    @mazedulislamkhan This issue has resolved in v7.6.1

    This issue starts popping up in v7.6 and was resolved in v.7.6.1 across listed in Github Issue.

    Thanks for reminding me about this ticket.

    Regards,
    Sami

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS Error on Edit Post’ is closed to new replies.