Empty metabox with WP 4.8.x, PHP 7.x and Yoast 9.2.x
Please give us a description of what happened.
Upgraded from 9.1 to 9.2.x and the meta box is empty. No errors listed in console.
Please describe what you expected to happen and why.
No errors and meta box would show.
How can we reproduce this behavior?
- Install WP 4.8.7 (also tested with 4.8.1) on server with PHP 7.x (I tested using 7.2. User has 7.0.32)
- Install Yoast SEO 9.1
- Edit post. See meta box works.
- Update Yoast to 9.2
- Edit post. See empty meta box
Technical info
- If relevant, which editor is affected (or editors):
- [x] Classic Editor
- [ ] Gutenberg
- [ ] Classic Editor plugin
Used versions
- WordPress version: 4.8.x
- Yoast SEO version: 9.2.x
- Relevant plugins in case of a bug: None
- Tested with theme: Twenty Seventeen
Workaround
Downgrade to Yoast SEO 9.1 OR Upgrade to WordPress 4.9.8
Related forum topic: https://wordpress.org/support/topic/yoast-keyword-snippet-is-missing-field/
I'm not sure if we want to notify the customers, as we probably recommend using the latest WP version, but I'll add them here, so that we may get an idea of how many users are affected.
Please inform the customer of conversation # 449781 when this conversation has been closed.
Please inform the customer of conversation # 449331 when this conversation has been closed.
Please inform the customer of conversation # 449811 when this conversation has been closed.
Please inform the customer of conversation # 450210 when this conversation has been closed.
Please inform the customer of conversation # 450747 when this conversation has been closed.
Please inform the customer of conversation # 451690 when this conversation has been closed.
Please inform the customer of conversation # 452907 when this conversation has been closed.
Please inform the customer of conversation # 453010 when this conversation has been closed.
Please inform the customer of conversation # 453852 when this conversation has been closed.
I can confirm that (with Yoast SEO v9.6) when I go to edit a page, if I choose "Edit (Block Editor)", the "Content Optimization" tab displays correctly. If I choose "Edit (Classic Editor)", it does not. So using the block editor is a work-around of sorts. But my client does not want to switch to the block editor just yet, so that's a problem.