Yoast SEO breaks the front-end editor of Visual Composer
- [ Y ] I've read and understood the contribution guidelines.
- [ Y ] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
When Yoast SEO and Visual Composer are both enabled, if I enter on the front-end editor of Visual composer of a page, I can't see any of the elements I put in it.
I checked the console, these the errors:
frontend-editor.min.js:9 Uncaught ReferenceError: vc_js is not defined
at Object.vc.build (frontend-editor.min.js:9)
at HTMLDocument.<anonymous> (page_editable.min.js:1)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)
I asked to the support of my theme for a solution, because if I change theme to a default Wordpress theme the problem disappears, but they answered me that the theme has not been tested to be used with Yoast SEO, and said to me that I should use the back-end editor. We need the front-end editor, but we need Yoast SEO too, and we don't know what to do.
I checked for plugins conflicts, and I found something. These the steps you said I needed to follow:
- Log in on your WordPress website.
- Deactivate all non-Yoast plugins.
- Switch your theme to a standard theme like Twenty Fourteen.
- Test for the issue again. Does it still occur?
I deactivated all the plugins and I found that the problemcould be Redux Framework: if I deactivate it I can see the front-end of Visual Composer, but I see all the writings colored in white and not in the standard color (this because the theme is based on it, so we can't deactivate Redux Framework).
Please describe what you expected to happen and why.
This is the front-end editor with Yoast SEO disabled: http://www.voicebookradio.com/it/wp-content/uploads/2017/07/screencapture-voicebookradio-it-wp-admin-post-php-1499864670595.png This is the front-end editor with Yoast SEO enabled: http://www.voicebookradio.com/it/wp-content/uploads/2017/07/screencapture-voicebookradio-it-wp-admin-post-php-1499864614275.png
How can we reproduce this behavior?
- Active both the Yoast SEO plugin and the Visual Composer plugin.
- Enter on the back-end of a page or a post, and click the button to enter the front-end editor of Visual Composer.
- You won't see any of the elements the page should contain.
Technical info
- WordPress version: 4.8.1
- Yoast SEO version: 5.3.3
- WPBakery Visual Composer: 5.2
- Relevant plugins in case of a bug: Redux Framework
Thanks for your bug report. We're constantly working on improving compatibility with other plugins. Do you have the possibility to upgrade to the latest version of WPBakery? Unfortunately, we are unable to offer support for outdated versions.
Also, please check for plugin conflicts. This issue could be caused by an interfering third-party plugin. Therefore we want to ask you to do the following;
- Log in on your WordPress website.
- Deactivate all non-Yoast plugins.
- Switch your theme to a standard theme like Twenty Fourteen.
- Test for the issue again. Does it still occur?
If it still occurs:
- Add a summary of the above steps to your bug report.
If it doesn't occur anymore:
- Reactivate all non-Yoast plugins one-by-one.
- Test for the issue again after every plugin you reactivate.
If the problem reoccurred after reactivating one of your plugins, please add that information to your bug report.
Thanks!
I updated the bug report
Thanks for updating your bug report. We are constantly working on improving our integration with sitebuilders like Visual Composer and we haven't seen this issue before. Does the issue still occur with Yoast SEO disabled and Redux Framework enabled? If that's the cause, the problem won't be related to our plugin and I advise you to contact the developers of Redux Framework.
If I disable Yoast SEO but I keep Redux Framework enabled, the issue doesn't occur. I also contacted Redux Framework to be sure, and they contacted the developer of my theme (that didn't want to solve the problem because he said that the theme was not meant to be used with Yoast SEO, but I need a plugin for the SEO, so I need to use Yoast). The developer of my theme will work on it, I think, but I think that this bug report could be still useful.
Please inform the customer of conversation # 219555 when this conversation has been closed.
Issue was reported as still occurring with the following WP/Plugin versions: WordPress Version | 4.8.1 WPBakery Visual Composer v5.2.1 Yoast SEO Premium v5.3.3
I updated the report: the problem still occurs
Please inform the customer of conversation # 260015 when this conversation has been closed.
The issue seems to exist on Backend Editor of Visual Composer failed to load.
WordPress version 4.9 WPBakery Visual Composer version 5.4.3 Yoast SEO Premium 5.8
No, it is a different issue: her is fore the Frontend Editor, there for the Backend. My backend works well.
Thank you for reporting this bug. We are unsure whether the issue is on our end. I've marked the issue as backlog, so it appears in the to-do-list of our development team.
Thank you very much
Having the same issue. Updated all plugins.
Yoast Premium: 7.9 WordPress: 4.9.7 WP Bakery Page Builder 5.5.2
Also having issues clicking on Screen Option, or Help menu on the top of the administration. Not doing any configuring of the page from the front-end, but if I try I get ERR_Response and the Page Builder and even the WordPress editor are blank on the back end, also Yoast is blank on the backend when activated.
Unable to reproduce this issue on:
WordPress 5.0.3 (classic editor or Gutenberg) VC 11.0 Yoast 9.5
As no recent posts were added in this thread I will be closing this as it seems to be solved. If a similar issue still persists, please submit a new issue with the details.