Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #3381724
JS Error: Uncaught DOMException: Failed to execute 'replaceState' on 'History'
Closed

Comments

  • Rudolph & Archie started the conversation

    Good day, Support. 

    We are experiencing issues on two sites that make use of your theme: TheGem - Creative Multi-Purpose & WooCommerce WordPress Theme

    The sites affected are: 

    The error occurs when you clock on links that link to anchors on the same page or links that trigger JS to load more items. The error read: Uncaught DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://foreverwildsa.co.za/#aboutus' cannot be created in a document with origin 'https://www.foreverwildsa.co.za' and URL 'https://www.foreverwildsa.co.za/'.

    I have attached the screenshot to the ticket. Let me know if you need anything else from my end. 

    Attached files:  foreverwild.png
      ukwela.png

  •  7,120
    Oliver replied

    HI,

    Try to change link place, don't use Elementor widget and just add anchor to the section (ID filed) 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver