Skip to content

Fix Cannot read properties of undefined (reading 'split')#310

Open
fskhri wants to merge 5 commits into
jlobos:masterfrom
fskhri:patch-1
Open

Fix Cannot read properties of undefined (reading 'split')#310
fskhri wants to merge 5 commits into
jlobos:masterfrom
fskhri:patch-1

Conversation

@fskhri

@fskhri fskhri commented Jul 13, 2024

Copy link
Copy Markdown

Before Fix

image

After Fix

image

@fskhri

fskhri commented Jul 13, 2024

Copy link
Copy Markdown
Author

why error?

It looks like the error is due to the assumption that the HTML contains the string 'window.sharedData = '. If this string is not found, the code attempts to access an undefined element, leading to the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant