• rochow

    (@rochow)


    With Afterpay disabled: 55 scripts

    With Afterpay enabled: 102 scripts

    It’s loading everything under the sun and then some.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rochow

    (@rochow)

    Furthermore, because it’s trying to access WP JSON for some reason, every page load has a JS error:

    Object captured as promise rejection with keys: code, data, message

    Because for security we don’t allow random REST requests.

    {code: rest_not_logged_in, data: {status: 401}, message: You are not currently logged in.}

    Sean Conklin

    (@seanconklin)

    Same here. We were seeing an extra 40 JavaScript files loading on the front end when the AfterPay plugin was active. One of those files /wp-includes/js/dist/components.min.js is a humungous Gutenberg Editor file that really harms page rendering. From research I found that these files are meant for the back-end editing, not for the front end. Others have commented about accidentally loading them in their projects as well.

    Hi @rochow and @seanconklin,

    Thank you for your reports.

    The team is aware of this challenge and looking into it. In the meantime, if this is impacting the store in a meaningful way, the team suggest taking a full site backup and rolling back to v3.6.1. If assistance to do so would be welcomed, please submit a support request including a link to this post using the following web form: https://afterpay.formstack.com/forms/global_merchant_technical_support

    A member of the team will then reach out to you within 1 business day.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Large amount of scripts’ is closed to new replies.