Mysterious Error: ctl.className.indexOf is not a function

> Browser extensions
Cover Image for Mysterious Error: ctl.className.indexOf is not a function

The Error

I saw this error in the logs of a XM 10.2.1 Sitecore instance:

Uncaught TypeError: ctl.className.indexOf is not a function | SessionId-RequestId: xxxxxxx-xxxxxxx | PageUrl: https://cm.acme.com/sitecore/shell/Applications/Content Editor.aspx?sc_bw=1 | UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

The Source

The source of the error turned out to be the Sitecore Extensions Chrome extension:

Sitecore Extensions

This is a great tool (thanks Allan NULL)!

The Fix and a Reminder

An older version of the extension was installed, somehow leading to this error. The issue went away after updating the extension.

When you come across issues in Sitecore, it's often a good idea to check the browser extensions.

Extension can be a weakness,

-MG

I chose these words

More Posts

Cover Image for NextJS: Unable to Verify the First Certificate

NextJS: Unable to Verify the First Certificate

> UNABLE_TO_VERIFY_LEAF_SIGNATURE

Cover Image for Shipping Custom Fields is Trivial as of 2026

Shipping Custom Fields is Trivial as of 2026

> How to ship one in less than 30 minutes

Cover Image for Troubleshooting 502 Responses in Azure App Services

Troubleshooting 502 Responses in Azure App Services

> App Services don't support all libraries

Cover Image for Quick Tip: One CLI Command to Solve Your IAR Database Override Problems

Quick Tip: One CLI Command to Solve Your IAR Database Override Problems

> A life saver during development and initial golive

Cover Image for Managing Rich Text Editor Profiles in SitecoreAI

Managing Rich Text Editor Profiles in SitecoreAI

> And other interesting observations