Fail gracefully if the Yoast plugin is not installed
See original GitHub issueDescribe the expected behavior
The package @frontity/yoast
should fail gracefully if the https://github.com/maru3l/wp-api-yoast-meta plugin is not installed.
It should probably point the user out to the relevant docs.
Describe the observed behavior
Write now it only shows this message in the server:
TypeError: Cannot read property 'yoast_wpseo_social_defaults' of undefined
Descriped the steps involved to reproduce the problem
Install the @frontity/yoast
plugin, include it in your frontity.settings.js
file and connect to a WP without the https://github.com/maru3l/wp-api-yoast-meta plugin installed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Common installation and update errors - Yoast
In rare cases, you will receive an error message when installing or updating Yoast SEO for WordPress. Below, we list the errors that...
Read more >Yoast SEO missing, can't reinstall (folder exists), clean re ...
I just noticed today that the Yoast SEO plugin is not in the plugins list on this site, and not functioning on the...
Read more >Best WordPress SEO Plugins to Boost Your SEO Game - 2022
In this article, we're going to discuss a few of our top-picks for your must-have WordPress SEO plugins for 2022, and which one's...
Read more >Graceful RxJS Error Handling | HTMLGoodies.com
Instead, RxJS provides a few of its own mechanisms for gracefully ... which signify that there were no settings found for that user....
Read more >[OzzModz] SEO & Index Tools - Updates | Page 2 | XenForo ...
Added new settings page under Admin -> SEO: Schema & branding. ... Added graceful failure on certain PHP versions after install when no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just FYI:
We are maintaining now our own WP plugin called REST API - Head Tags, which exposes the meta tags of SEO plugins in the REST API. The way to integrate this plugin with Frontity is simply to install the
@frontity/head-tags
package.Sorry, we’ve just released it and the docs are coming 😅
Yes, the plugin we are going to recommend is that one: https://github.com/maru3l/wp-api-yoast-meta