-
Notifications
You must be signed in to change notification settings - Fork 7
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
Head tags plugin causes a critical error when using api #35
Comments
The above issue was solved by installing php-dom using Now I run into this error:
|
And that issue was solved by installing mbstring using |
Hey, @MarkHjorth, thanks for opening the issue! Yes, the package depends on the php Anyway, I'm glad you solved it by your own. 😊 I'm going to close the issue. If you have more questions or need help you can write in the Frontity community. |
@DAreRodz can you inform about this problem to the documentation team? Or maybe we should switch to something that doesn't have any dependencies, like https://simplehtmldom.sourceforge.io/? |
I would prefer to use a standard library, and also it is supposed to be included in PHP by default, but it isn't... 🤷 Yeah, maybe it's a good idea to add a different library in our code. Well, @juanmaguitar, @mburridge I guess we should add the PHP dependencies for the Head Tags plugin in our documentation, right? What do you think? |
PR created w/ this info → frontity/docs#68 |
Great! Thanks @juanmaguitar. 😄 |
Shouldn't we add this to the plugin description as well? https://wordpress.org/plugins/rest-api-head-tags/ |
I can add it to the plugin, @luisherranz. And I can take care of upload the docs to the WP repository. |
Trying to access the posts endpoint while having the 'REST API - Head Tags' plugin enabled will yield a Wordpress error message.
Tried to access posts endpoint:
https://markhjorth.com/wp-json/wp/v2/posts
Error message:
"There has been a critical error on your website."
Plugin version:
Version 1.1.3
Wordpress version:
Version 5.4.1
Yoast version:
Version 14.1
Stack trace:
The text was updated successfully, but these errors were encountered: