Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.73k stars 882 forks source link

Visual Composer Editing Abilities fail to work and Readability and SEO Scores/colored dots fail to appear on Pages #6254

Closed Pcosta88 closed 7 years ago

Pcosta88 commented 7 years ago

What did you expect to happen?

Editing with Visual Composer and showing the readability scores would happen on pages

What happened instead?

It did not happen

How can we reproduce this behavior?

1. Install Yoast 4.0

2. Install Visual Composer

3. See Readability colored dots and scores fail to work as expected on a page

Note: This screenshot is with Yoast SEO Premium active

screen shot 2016-12-13 at 12 32 59 pm

Note: This screenshot is with Yoast SEO active

screen shot 2016-12-13 at 12 34 40 pm

4. See JavaScript Errors. They are the same for both versions

ReferenceError: vc is not defined
 /wp-content/plugins/js_composer-3rd-party-devs-master/assets/js/vendors/yoast.js?ver=5.0:41

Can you provide a link to a page which shows this issue?

Technical info

Pcosta88 commented 7 years ago

Please inform the customer of conversation # 164972 when this conversation has been closed.

mmikhan commented 7 years ago

Please inform the customer of conversation # 165135 when this conversation has been closed.

mmikhan commented 7 years ago

Please inform the customer of conversation # 165170 when this conversation has been closed.

mmikhan commented 7 years ago

Please inform the customer of conversation # 165171 when this conversation has been closed.

mmikhan commented 7 years ago

Additional Errors from Console:

From: wp-seo-premium-metabox-400.min.js:1

Uncaught TypeError: Cannot read property 'getElementsByClassName' of null
    at g (wp-seo-premium-metabox-400.min.js:1)
    at f (wp-seo-premium-metabox-400.min.js:1)
    at dispatch (jquery.js:1)
    at r.handle (jquery.js:1)
    at Object.trigger (jquery.js:1)
    at Object.a.event.trigger (jquery-migrate.min.js:2)
    at jquery.js:1
    at Function.each (jquery.js:1)
    at a.fn.init.each (jquery.js:1)
    at a.fn.init.trigger (jquery.js:1)

From: /wp-json/wp/v2/posts/5944 Failed to load resource: the server responded with a status of 404 ()

From: post-new.php:1

Uncaught (in promise)
Object
abort:(a)
always:()
complete:()
done:()
error:()
fail:()
getAllResponseHeaders:()
getResponseHeader:(a)
overrideMimeType:(a)
pipe:()
progress:()
promise:(a)
readyState:4
responseJSON:Object
responseText:"{"code":"rest_post_invalid_id","message":"Invalid post ID.","data":{"status":404}}"
setRequestHeader:(a,b)
state:()
status:404
statusCode:(a)
statusText:"error"
success:()
then:()
__proto__:Object
mmikhan commented 7 years ago

Please inform the customer of conversation # 165146 when this conversation has been closed.

Pcosta88 commented 7 years ago

Please inform the customer of conversation # 164358 when this conversation has been closed.

Pcosta88 commented 7 years ago

above user has JS errors of

TypeError: Cannot read property 'getElementsByClassName' of null
 /wp-content/plugins/wordpress-seo-premium/premium/assets/js/dist/wp-seo-premium-metabox-400.min.js?ver=4.0:1
mmikhan commented 7 years ago

Please inform the customer of conversation # 165318 when this conversation has been closed.

mmikhan commented 7 years ago

Please inform the customer of conversation # 164967 when this conversation has been closed.

mmikhan commented 7 years ago

Please inform the customer of conversation # 165273 when this conversation has been closed.

atimmer commented 7 years ago

We are looking in to this and will fix this as soon as possible.

atimmer commented 7 years ago

The majority of these issues were caused by a functionality in premium, of which we have released 4.0.1. That fixes these issue.