WPIntell

Source evidence

Plugin conflict with Yoast 5.8

Remove Yoast SEO Comments · support · 2017-11-15T12:50:00+00:00

mixedsentiment
highseverity
0.95relevance
27replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 31 rows with source links

6.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
puregraphx resolved
We just updated Yoast to 5.8 and now we see this error on the fronted. When we disable the plugin, the site loads ok. Fatal error: Uncaught Error: Call to undefined method RYSC::head_product_name() in /home/doublemp/public_html/dev/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110) : eval()’d code:17 Stack trace: #0 /home/doublemp/public_html/dev/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110): eval() #1 /home/doublemp/public_html/dev/wp-includes/class-wp-hook.php(298): RYSC->rewrite(”) #2 /home/doublemp/public_html/dev/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #3 /home/doublemp/public_html/dev/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/doublemp/public_html/dev/wp-includes/general-template.php(2589): do_action(‘wp_head’) #5 /home/doublemp/public_html/dev/wp-content/themes/Avada/header.php(22): wp_head() #6 /home/doublemp/public_html/dev/wp-includes/template.php(688): require_once(‘/home/doublemp/…’) #7 /home/doublemp/public_html/dev/wp-includes/template.php(647): load_template(‘/home/doublemp/…’, true) #8 /home/doublemp/pu in /home/doublemp/public_html/dev/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110) : eval()’d code on line 17 Haha Yoast have tried to combat people using the Remove Yoast SEO Comments plugin to removed the forced Yoast embedded links. If you run both plugins you’ll either get a 500 server response or errors such as the one you’ve listed. Test this yourself by deactivating the Remove Yoast SEO Comments plugin. Seems a bit of a cynical action Yoast. Confirmed. Blank site when Yoast SEO updated to 5.8 deactivating “Remove Yoast SEO Comments” fixed the issue. Please update “Remove Yoast SEO Comments” to work with 5.8 Please make plugin fail save, so this doesn’t happen with future update from Yoast SEO @coldcutt It can be just confidence, that the updated code is causing this conflict. I don’t suspect the Yoast team would intentionally try to take out sites that run “Remove Yoast SEO Comments”, as it would be very bad for there reputation and there business. So I default to -not intentionally- till there is hard proof for the opposite. @bart I hear what you’re saying, but the reason this plugin even exists is because Yoast intentionally force a link into every site using the plugin without an option to remove it. To me that is already bad for their reputation and business, it’s an unnecessarily sneaky method for back-links. It’s poor practice for any dev to force on users, a simple tick box to opt-out of displaying this is a far better practice for all imo. I simply found this too ironic not to be mentioned. When I saw this bug I was instantly moved to check both plugins for incompatibility… I don’t believe in coincidences. 😉 Same problem here. Just updated Yoast and the whole site went blank with error. If you only activate this ad-block plugin and not Yoast SEO, it is fine. So definitely there is some conflict between the adblock and Yoast. Confirmed bug – Blank home page with Version 3.0.2 & Yoastv5.8 My site has been offline for a good afternoon thanks to the shady Dutch. Very bad business practice, Yoast. Very bad. Confirmed error – blank page after update Yoast to 5.8. Same problem here. I’ll don’t like hidden methods, it’s against the gist of open source, imo. So I will delete Yoast. There are other fine SEO-tools… In all fairness guys, it is not proven that Yoast intentionally changed code to block this plugin. Also, they develop their own product and can/will not guarantee compatibility with every other plugin. It is up to the RYSC author to make sure his plugins works with every version of Yoast, perhaps if he was able to get a sneek peak at the upcoming release code. But I believe Yoast won’t be too keen on working together 🙁 But it’s free so we can’t complain (too much) 🙂 Hope they fix it soon, will disable on all sites for now. @puregraphx Exactly my thought. @others TL;DR Just delete the Remove Yoast SEO Comments plugin and all works like expected. Long version As @puregraphx already showed in his first (and top most comment) it’s Remove Yoast SEO Comments that messes things up. Fatal error: Uncaught Error: Call to undefined method RYSC ::head_product_name() Remove Yoast SEO Comments this plugin is is not from the Yoast team. It is specially designed to alter behaviour from the Yoast plugin and does nothing without that plugin. A nice WP website is driven with code from many different coders, that love the eco system and contribute their code freely as free plugins. Conflicts between plugins just happen from time to time in the WP ecosystem, as code authors advance their code and roll out new updates. These conflicts are almost always not intended, but caused by an over sight. The update in Yoast SEO, triggers a oversight in Remove Yoast SEO Comments on which the Remove Yoast SEO Comments it throws a fatal error. The Yoast team did update their code base on their free SEO plugin and Remove Yoast SEO Comments is not compatible anymore with this version and throughs and Fatal error It is not the Yoast SEO plugin that throws the error. Yoast SEO functions normally, when Remove Yoast SEO Comments is removed. It is the task for the author of Remove Yoast SEO Comments to make an keep his code compatible as this plugin is an addition to Yoast SEO and not heh other way around. Just don’t start blaming people, before there is clear evidence from the code base that there is a bad intent. These error’s happen and there are many different scenarios that can lead to the fatal error when both plugins are installed. This reply was modified 8 years, 6 months ago by anonymized-7970383 . @mcbart, use “contribute their code” instead. Just a tip 🙂 there != their (@puregraphx) Thanks for the tip! Did a search and replaced the typos. These things happen, when English is not your first language 🙂 blank page to me too Confirmed bug: Blank home page with Version 3.0.2 & Yoast 5.8 Yes blank with errors – for me too, but I found good way, how to fix it Yoast fix This reply was modified 8 years, 6 months ago by Alex Stark . This reply was modified 8 years, 6 months ago by Alex Stark . If you need fast fix with “Yoast comments removed” – it means you don’t want YOAST comments in your page source, try this to put following code in file functions.php (you can access this file from Appearance->Editor and select file functions.php to edit). It will remove all comments sections from HTML. Put it AT THE END of functions.php ——————————————————————— function callback($buffer) { //any line beginning with “<!– ” (there is a space after dashes) $buffer = preg_replace(‘/<!–\s.*–>/’, ”, $buffer); return $buffer; } function buffer_start() { ob_start(“callback”); } function buffer_end() { ob_end_flush(); } add_action(‘get_header’, ‘buffer_start’); add_action(‘wp_footer’, ‘buffer_end’); This reply was modified 8 years, 6 months ago by ondrej7 . This reply was modified 8 years, 6 months ago by ondrej7 . This reply was modified 8 years, 6 months ago by ondrej7 . No need to delete either plugin. Just download Yoast 5.7.1 zip file and install yourself and use both plugin together. The Yoast’s Github release page is as follow: https://github.com/Yoast/wordpress-seo/releases Or… deactivate RYSC temporarily and be patient. Let the Remove Yoast SEO Comments plugin author update the plugin as soon as possible. Monitor your dashboard and you’ll be notified of the update when it’s available. Then you can reactivate it. Hey everyone, sorry to see so many people get fatals because of this issue! Let me be clear on the Yoast policy here: We didn’t do this on purpose, nor do we make removing this comment very hard to do. We’re not hiding anything, this is just a method in a class. The comment is actually used in our code, the force rewrite functionality depends on it. What we do though, which caused this fatal, is continue to develop our plugin. Sometimes we refactor our code to make it performant and/or easier to maintain. The author of this plugin did not code defensively, he should make his code simply not fatal when we change our code. Unfortunately, this is not the first time this plugin has caused fatal errors, so our advice is simply not to run this plugin. The comment doesn’t hurt anybody, other than that it helps us gather some stats on how many sites use Yoast SEO. If you want to remove all comments from the frontend, there are certainly better plugins to do that, simply use a plugin to minify all the output. @ut4utc That is LITERALLY what everyone in this entire thread, has already said. So GTFO with your spammy links. @joostdevalk The comment doesn’t hurt anybody, other than that it helps us gather some stats on how many sites use Yoast SEO. This can not be more than partially true. If all you wanted was to gather stats, you could do that with an innocuous comment like <!– y02394842984 –> or something else totally unique. Also, if the comment truly does not do anything but provide stats, a setting to remove all Yoast comments would exist. Truth is, you want the advertising. Which is fine, but don’t act like it’s for other reasons. @dekket Where is spam in my links? in my link I shared with the solution of the problem and only. @ut4utc the solution was already posted here multiple times, you are just desperate to get some traffic to your blog. Added value? 0. @dekket if you think it’s “advertising”, you don’t understand how most WordPress users (not developers) find their plugins. With over 7.5 million installs of Yoast SEO, I can honestly say it’s not the comment in the source code that got us there. The comment is helpful because it makes it easy to establish which version of the plugin (both free / premium and actual version #) someone is using. That’s helpful to our support team in many, many cases. On top of that, sites like builtwith use it to generate stats on our plugin. That’s why it’s there. If we made it something “innocuous”, nobody would get why it’s there. And that freaks more people out than you think. @puregraphx sorry for my bug. I can’t know fluent english. I read only two last comment, that users say that has problem and I wrote article for me and for them. BI can’t need more traffic in my site, because i write articles 1-2 times in month and not need that my blog be same as facebook, my blog only for me, this is my datebase LOL Hello all. Thank you for reporting this issue to me. Unfortunately, I don’t have the time to check the support page every day. The issue has been fixed. Special thanks to Yoast SEO for changing this specific piece of code we rely on, it motivates me to keep updating this plugin. As mentioned in the FAQ, it’s certainly recommended to run a test installation of WordPress with Yoast SEO and RYSC to see if something breaks in new updates. I cannot prevent this from happening. I apologize for the late response. – Mitch Hey, there i am facing some problems by the latest version 5.8 of Yoast SEO with my website . Same problem as above mentioned above.

Comments

27 shown
Coldcutt 2017-11-15T15:02:00+00:00

Haha Yoast have tried to combat people using the Remove Yoast SEO Comments plugin to removed the forced Yoast embedded links. If you run both plugins you’ll either get a 500 server response or errors such as the one you’ve listed. Test this yourself by deactivating the Remove Yoast SEO Comments plugin. Seems a bit of a cynical action Yoast.

anonymized-7970383 2017-11-15T17:45:00+00:00

Confirmed. Blank site when Yoast SEO updated to 5.8 deactivating “Remove Yoast SEO Comments” fixed the issue. Please update “Remove Yoast SEO Comments” to work with 5.8 Please make plugin fail save, so this doesn’t happen with future update from Yoast SEO @coldcutt It can be just confidence, that the updated code is causing this conflict. I don’t suspect the Yoast team would intentionally try to take out sites that run “Remove Yoast SEO Comments”, as it would be very bad for there reputation and there business. So I default to -not intentionally- till there is hard proof for the opposite.

Coldcutt 2017-11-15T18:03:00+00:00

@bart I hear what you’re saying, but the reason this plugin even exists is because Yoast intentionally force a link into every site using the plugin without an option to remove it. To me that is already bad for their reputation and business, it’s an unnecessarily sneaky method for back-links. It’s poor practice for any dev to force on users, a simple tick box to opt-out of displaying this is a far better practice for all imo. I simply found this too ironic not to be mentioned. When I saw this bug I was instantly moved to check both plugins for incompatibility… I don’t believe in coincidences. 😉

shap2zj 2017-11-16T00:27:00+00:00

Same problem here. Just updated Yoast and the whole site went blank with error. If you only activate this ad-block plugin and not Yoast SEO, it is fine. So definitely there is some conflict between the adblock and Yoast.

kwcjr 2017-11-16T00:37:00+00:00

Confirmed bug – Blank home page with Version 3.0.2 & Yoastv5.8

lucabarelli 2017-11-16T04:43:00+00:00

My site has been offline for a good afternoon thanks to the shady Dutch. Very bad business practice, Yoast. Very bad.

digestsua 2017-11-16T05:22:00+00:00

Confirmed error – blank page after update Yoast to 5.8.

Nikelaos 2017-11-16T08:45:00+00:00

Same problem here. I’ll don’t like hidden methods, it’s against the gist of open source, imo. So I will delete Yoast. There are other fine SEO-tools…

puregraphx 2017-11-16T09:05:00+00:00

In all fairness guys, it is not proven that Yoast intentionally changed code to block this plugin. Also, they develop their own product and can/will not guarantee compatibility with every other plugin. It is up to the RYSC author to make sure his plugins works with every version of Yoast, perhaps if he was able to get a sneek peak at the upcoming release code. But I believe Yoast won’t be too keen on working together 🙁 But it’s free so we can’t complain (too much) 🙂 Hope they fix it soon, will disable on all sites for now.

anonymized-7970383 2017-11-16T10:13:00+00:00

@puregraphx Exactly my thought. @others TL;DR Just delete the Remove Yoast SEO Comments plugin and all works like expected. Long version As @puregraphx already showed in his first (and top most comment) it’s Remove Yoast SEO Comments that messes things up. Fatal error: Uncaught Error: Call to undefined method RYSC ::head_product_name() Remove Yoast SEO Comments this plugin is is not from the Yoast team. It is specially designed to alter behaviour from the Yoast plugin and does nothing without that plugin. A nice WP website is driven with code from many different coders, that love the eco system and contribute their code freely as free plugins. Conflicts between plugins just happen from time to time in the WP ecosystem, as code authors advance their code and roll out new updates. These conflicts are almost always not intended, but caused by an over sight. The update in Yoast SEO, triggers a oversight in Remove Yoast SEO Comments on which the Remove Yoast SEO Comments it throws a fatal error. The Yoast team did update their code base on their free SEO plugin and Remove Yoast SEO Comments is not compatible anymore with this version and throughs and Fatal error It is not the Yoast SEO plugin that throws the error. Yoast SEO functions normally, when Remove Yoast SEO Comments is removed. It is the task for the author of Remove Yoast SEO Comments to make an keep his code compatible as this plugin is an addition to Yoast SEO and not heh other way around. Just don’t start blaming people, before there is clear evidence from the code base that there is a bad intent. These error’s happen and there are many different scenarios that can lead to the fatal error when both plugins are installed. This reply was modified 8 years, 6 months ago by anonymized-7970383 .

puregraphx 2017-11-16T10:24:00+00:00

@mcbart, use “contribute their code” instead. Just a tip 🙂 there != their

anonymized-7970383 2017-11-16T10:31:00+00:00

(@puregraphx) Thanks for the tip! Did a search and replaced the typos. These things happen, when English is not your first language 🙂

matteo raggi 2017-11-16T10:47:00+00:00

blank page to me too

netconsulting 2017-11-16T10:54:00+00:00

Confirmed bug: Blank home page with Version 3.0.2 & Yoast 5.8

Alex Stark 2017-11-16T14:29:00+00:00

Yes blank with errors – for me too, but I found good way, how to fix it Yoast fix This reply was modified 8 years, 6 months ago by Alex Stark . This reply was modified 8 years, 6 months ago by Alex Stark .

ondrej7 2017-11-16T18:31:00+00:00

If you need fast fix with “Yoast comments removed” – it means you don’t want YOAST comments in your page source, try this to put following code in file functions.php (you can access this file from Appearance->Editor and select file functions.php to edit). It will remove all comments sections from HTML. Put it AT THE END of functions.php ——————————————————————— function callback($buffer) { //any line beginning with “<!– ” (there is a space after dashes) $buffer = preg_replace(‘/<!–\s.*–>/’, ”, $buffer); return $buffer; } function buffer_start() { ob_start(“callback”); } function buffer_end() { ob_end_flush(); } add_action(‘get_header’, ‘buffer_start’); add_action(‘wp_footer’, ‘buffer_end’); This reply was modified 8 years, 6 months ago by ondrej7 . This reply was modified 8 years, 6 months ago by ondrej7 . This reply was modified 8 years, 6 months ago by ondrej7 .

shap2zj 2017-11-16T18:33:00+00:00

No need to delete either plugin. Just download Yoast 5.7.1 zip file and install yourself and use both plugin together. The Yoast’s Github release page is as follow: https://github.com/Yoast/wordpress-seo/releases

Jim McClain 2017-11-16T22:40:00+00:00

Or… deactivate RYSC temporarily and be patient. Let the Remove Yoast SEO Comments plugin author update the plugin as soon as possible. Monitor your dashboard and you’ll be notified of the update when it’s available. Then you can reactivate it.

Joost de Valk 2017-11-17T08:04:00+00:00

Hey everyone, sorry to see so many people get fatals because of this issue! Let me be clear on the Yoast policy here: We didn’t do this on purpose, nor do we make removing this comment very hard to do. We’re not hiding anything, this is just a method in a class. The comment is actually used in our code, the force rewrite functionality depends on it. What we do though, which caused this fatal, is continue to develop our plugin. Sometimes we refactor our code to make it performant and/or easier to maintain. The author of this plugin did not code defensively, he should make his code simply not fatal when we change our code. Unfortunately, this is not the first time this plugin has caused fatal errors, so our advice is simply not to run this plugin. The comment doesn’t hurt anybody, other than that it helps us gather some stats on how many sites use Yoast SEO. If you want to remove all comments from the frontend, there are certainly better plugins to do that, simply use a plugin to minify all the output.

dekket 2017-11-17T09:55:00+00:00

@ut4utc That is LITERALLY what everyone in this entire thread, has already said. So GTFO with your spammy links.

dekket 2017-11-17T10:01:00+00:00

@joostdevalk The comment doesn’t hurt anybody, other than that it helps us gather some stats on how many sites use Yoast SEO. This can not be more than partially true. If all you wanted was to gather stats, you could do that with an innocuous comment like <!– y02394842984 –> or something else totally unique. Also, if the comment truly does not do anything but provide stats, a setting to remove all Yoast comments would exist. Truth is, you want the advertising. Which is fine, but don’t act like it’s for other reasons.

Alex Stark 2017-11-17T10:05:00+00:00

@dekket Where is spam in my links? in my link I shared with the solution of the problem and only.

puregraphx 2017-11-17T10:08:00+00:00

@ut4utc the solution was already posted here multiple times, you are just desperate to get some traffic to your blog. Added value? 0.

Joost de Valk 2017-11-17T10:10:00+00:00

@dekket if you think it’s “advertising”, you don’t understand how most WordPress users (not developers) find their plugins. With over 7.5 million installs of Yoast SEO, I can honestly say it’s not the comment in the source code that got us there. The comment is helpful because it makes it easy to establish which version of the plugin (both free / premium and actual version #) someone is using. That’s helpful to our support team in many, many cases. On top of that, sites like builtwith use it to generate stats on our plugin. That’s why it’s there. If we made it something “innocuous”, nobody would get why it’s there. And that freaks more people out than you think.

Alex Stark 2017-11-17T10:19:00+00:00

@puregraphx sorry for my bug. I can’t know fluent english. I read only two last comment, that users say that has problem and I wrote article for me and for them. BI can’t need more traffic in my site, because i write articles 1-2 times in month and not need that my blog be same as facebook, my blog only for me, this is my datebase LOL

Mitch 2017-11-17T17:17:00+00:00

Hello all. Thank you for reporting this issue to me. Unfortunately, I don’t have the time to check the support page every day. The issue has been fixed. Special thanks to Yoast SEO for changing this specific piece of code we rely on, it motivates me to keep updating this plugin. As mentioned in the FAQ, it’s certainly recommended to run a test installation of WordPress with Yoast SEO and RYSC to see if something breaks in new updates. I cannot prevent this from happening. I apologize for the late response. – Mitch

katyloris567890 2017-11-20T15:56:00+00:00

Hey, there i am facing some problems by the latest version 5.8 of Yoast SEO with my website . Same problem as above mentioned above.