[Plugin: WordPress SEO by Yoast] undefined variables
When I went to activate this plugin, I got several minor undefined index/variable errors throughout. To see them, you’ll have to set WP_DEBUG to true in wp-config.php
It looks like the title tag needs some tlc—I suspect that it doesn’t throw an error once title rules are in place, but for now, I have:
<br /> <b>Notice</b>: Undefined index: title-page in <b>/wp-content/plugins/wordpress-seo/frontend/class-frontend.php</b> on line <b>99</b><br />
On every page of the yoast settings, the right-sidebar has:
Notice: Undefined variable: sbug in /home/content/64/8865464/html/wp-content/plugins/wordpress-seo/admin/yst_plugin_tools.php on line 340
Notice: Undefined variable: s in /home/content/64/8865464/html/wp-content/plugins/wordpress-seo/admin/yst_plugin_tools.php on line 340
And finally, when I activated the plugin, it looked like some fb_*** (can’t remember the variable, and didn’t copy it down when I saw the error) was undefined. That only showed up once on the plugin page, and only at activation (so hopefully you can reproduce the error yourself, but don’t sweat it if you can’t, as it doesn’t affect things later on)
A few well-placed
isset()should probably take care of these issues.
- The topic ‘[Plugin: WordPress SEO by Yoast] undefined variables’ is closed to new replies.