-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
Array to string conversion #25
Comments
Have you been able to find out what was the reason of that? Have you got it fixed? |
ive also started having this issue, no real leads on whats causing it, i was migrating away from the deprecated tiptap parser but i definitely cant unless i get more info on how this is occuring |
Same issue |
I'm also experiencing this issue. It seems to be related to the this multidimensional array check failing to detect empty nested arrays as described here. Since the check fails, the array_diff that follows throws an exception as described here. A better (although possibly slower) approach would be to check for a multidimensional array doing something like this:
I tested this locally and it seemed to work fine. I'll see about getting a pull request put together within the next few days. |
Very weird, happens to me on production but not locally same php version tho. PHP: 8.2.5 |
I just encountered this while attempting to import content from WordPress - it wraps everything in p tags. Submitted a PR with a failing test, so hopefully it gets merged soon 🤞 |
I'm also getting this error while parsing html, no idea what's triggering it. On version 1.3.0 |
@enkay I'm now quite certain this is caused by the |
Hi there,
Silly question but when I trying to get JSON from the following HTML, it throws
Array to string conversion in ../vendor/ueberdosis/tiptap-php/src/Core/DOMParser.php on line 144
.The text was updated successfully, but these errors were encountered: