logo
search
Others

How to Fix TypeError: Cannot Read Properties of Undefined Reading allRings

Ayan MasoodAyan Masood Sep 27, 2026 868 views

Question details

The user is encountering a JavaScript-style TypeError mentioning 'reading allRings' when attempting to open or process a document.

How to Fix TypeError: Cannot Read Properties of Undefined (Reading 'allRings')
Product
Microsoft Office or Web-based File Viewer
Device & OS
not provided
Scenario
Opening a file or interacting with a document that contains script-driven elements, web add-ins, or complex chart data.
Observed behavior
The application fails to load the file or process the action, displaying the error message 'TypeError: Cannot read properties of undefined (reading allRings)'.
Before you start

Before proceeding, check if the error only occurs with a specific file by opening a new, blank document. This helps determine whether the issue lies within the software or a corrupted file.

Solution 1Recommended

Identify and Disable Conflicting Add-ins

Third-party add-ins or extensions can cause script execution errors. Running the application in Safe Mode helps identify the culprit.

Script errors like 'Cannot read properties of undefined' are frequently caused by outdated or incompatible third-party add-ins trying to read data that doesn't exist in the current document context.

1
Launch in Safe Mode

Hold down the 'Ctrl' key on your keyboard and double-click the application shortcut to open it in Safe Mode.

2
Access Add-in Settings

Navigate to 'File' > 'Options' > 'Add-ins' in the main menu.

3
Disable Add-ins

Select 'COM Add-ins' from the Manage drop-down list at the bottom and click 'Go'. Uncheck all add-ins and click 'OK'.

4
Restart and Test

Restart the application normally. If the error is gone, enable your add-ins one by one to find the one causing the issue.

Identify and Disable Conflicting Add-ins
Web-Based Applications: If you are using a web-based Office application, try disabling your browser extensions instead.
Free Microsoft Office alternative

Experience Error-Free Document Editing with WPS Office

Tired of encountering script errors like 'TypeError' in your current office software? Switch to WPS Office for a stable, lightweight, and highly compatible desktop experience that avoids browser-based script failures.

  1. 1. Download and Install: Visit the official WPS website to download and install WPS Office for free.
  2. 2. Launch the Application: Open WPS Office and select the 'Open' option from the main dashboard.
  3. 3. Access Your File: Select the problematic file to open it safely in a stable environment, bypassing previous script errors.
Stable desktop architecture that minimizes unpredictable web-script errors.Seamless compatibility with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight design ensures fast loading of complex files and embedded charts.
microsoft office alternative - wps office

Frequently Asked Questions

What does the 'TypeError: Cannot read properties of undefined' error mean?

It is a common JavaScript error indicating that the program attempted to read a variable or object property (like 'allRings') that has not been defined, initialized, or found in the data.

Can a corrupted file cause this specific error?

Yes. If a document contains embedded scripts, charts, or map objects that are improperly formatted or corrupted, the software may fail to read the expected properties, triggering this error.

How can I safely extract the text from a file throwing this error?

You can try opening the file in Safe Mode, uploading it to a different cloud viewer, or using an alternative suite like WPS Office to bypass the specific script causing the failure and recover your text.