We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wordpress-importer/src/wp.js
Line 62 in 141c99d
If field.value.rendered is an empty string, that condition is skipped and an object is returned, causing the error below inside turndown:
field.value.rendered
Uncaught TypeError: [object Object] is not a string, or an element/document/fragment node.
A fix would be to check if rendered is actually undefined, eg:
} else if (typeof field_value === 'object' && field_value.rendered !== undefined) {
Note that this might also apply to line 64 with href.
Edit: I tested the change locally and it seems to work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
wordpress-importer/src/wp.js
Line 62 in 141c99d
If
field.value.rendered
is an empty string, that condition is skipped and an object is returned, causing the error below inside turndown:A fix would be to check if rendered is actually undefined, eg:
Note that this might also apply to line 64 with href.
Edit: I tested the change locally and it seems to work.
The text was updated successfully, but these errors were encountered: