• Resolved Anonymous User 15555709

    (@anonymized-15555709)


    I recently found that there is a url mistake will lead to 404

    DevTools failed to load SourceMap: Could not load content for https://unpkg.com/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://unpkg.com/tippy-bundle.iife.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dhruboz

    Thanks for letting us know about that. These are some unused scripts that will be removed from the next release. Don’t worry about that. For now, you can add the below code snippet to your theme’s functions.php file to dequeue them from your site:

    function dequeue_ekit_js() {
    	wp_dequeue_script( 'ekit-popover' );
    	wp_dequeue_script( 'ekit-typpy' );
    }
    add_action( 'elementor/frontend/before_enqueue_scripts', 'dequeue_ekit_js', 99 );

    Alternatively, you can also comment out the codes from the ElementsKit plugin as shown in the screenshot. (https://d.pr/i/atBCms)

    Let us know if you need any further assistance.

    Kind Regards,
    Prosenjit

    Thread Starter Anonymous User 15555709

    (@anonymized-15555709)

    I changed both of them to

    https://unpkg.com/popper.js@1.16.1/dist/popper.min.js.map
    https://unpkg.com/tippy.js@5.2.1/dist/tippy-bundle.iife.min.js.map
    • This reply was modified 3 years, 10 months ago by Anonymous User 15555709. Reason: Forgot to mark as resolved
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘unpkg url mistake’ is closed to new replies.