What could be causing the "Cannot set properties of undefined (setting ‘_persistentUIState’)" error in Webflow?

Published on
September 22, 2023

The "Cannot set properties of undefined (setting ‘_persistentUIState’)" error in Webflow typically occurs when there is an issue with the Webflow Editor or the underlying code. This error message can be caused by several factors, including:

  1. Invalid custom code: If you have added custom code to your Webflow project and made a mistake, it can result in this error. Check your custom code to ensure that it is written correctly and does not conflict with any existing code.

  2. Corrupt or outdated browser cache: Sometimes, the error can be caused by a corrupt or outdated browser cache. Clear your browser cache and try again to see if the issue is resolved.

  3. Conflict with browser extensions: Certain browser extensions or add-ons can interfere with the functionality of Webflow, resulting in this error. Disable any extensions that might be conflicting with Webflow and test to see if the issue persists.

  4. Webflow Editor issue: Occasionally, this error can be caused by a glitch in the Webflow Editor itself. If none of the above solutions work, reach out to Webflow support for assistance.

To troubleshoot and resolve the "Cannot set properties of undefined (setting ‘_persistentUIState’)" error in Webflow, you can follow these steps:

  1. Check your custom code for any errors or conflicts.
  2. Clear your browser cache to eliminate any potential issues.
  3. Disable browser extensions one at a time to identify any conflicts.
  4. Reach out to Webflow support for further assistance if needed.

By following these steps, you should be able to identify and resolve the error, allowing you to continue working with Webflow without any issues.

Additional questions:

  1. How can I clear the browser cache in Webflow?
  2. What are some best practices for adding custom code in Webflow?
  3. Where can I find Webflow support for technical issues?