Yoast / wordpress-seo

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

Yoast - unexpected token #10172

Closed Raymhi closed 6 years ago

Raymhi commented 6 years ago

Hello,

So my concern is that yoast does not launch when editing pages and displays in the console I have the following errors:

17:55:33.348    Navigated to http://www.larainettecommunication.fr/wp-admin/post-new.php?post_type=page
17:55:33.881    jquery-migrate.js?ver=1.4.1:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
717:55:48.566   Slow network is detected. See <URL> for more details. Fallback font will be used while loading: <URL>
17:55:46.520    wp-seo-post-scraper-771.min.js?ver=7.7.1:1 Uncaught SyntaxError: Unexpected token <
17:55:48.234    tinymce.min.js?ver=4711-20180425:1 Uncaught SyntaxError: Unexpected token <
17:55:48.236    plugin.js?ver=4711-20180425:322 Uncaught ReferenceError: tinymce is not defined
                    at plugin.js?ver=4711-20180425:322
                (anonymous) @ plugin.js?ver=4711-20180425:322
17:55:48.238    post-new.php?post_type=page:8579 Uncaught ReferenceError: tinymce is not defined
                    at post-new.php?post_type=page:8579
                (anonymous) @ post-new.php?post_type=page:8579
17:55:48.240    wp-langs-en.js?ver=4711-20180425:235 Uncaught ReferenceError: tinyMCE is not defined
                    at wp-langs-en.js?ver=4711-20180425:235
                    at wp-langs-en.js?ver=4711-20180425:519
                (anonymous) @ wp-langs-en.js?ver=4711-20180425:235
                (anonymous) @ wp-langs-en.js?ver=4711-20180425:519
17:55:48.241    post-new.php?post_type=page:8573 Uncaught ReferenceError: tinymce is not defined
                        at Object.load_ext (post-new.php?post_type=page:8573)
                        at post-new.php?post_type=page:8584
                    load_ext @ post-new.php?post_type=page:8573
                    (anonymous) @ post-new.php?post_type=page:8584
17:55:49.362    jquery.js?ver=1.12.4:4 XHR finished loading: POST "http://www.larainettecommunication.fr/wp-admin/admin-ajax.php".
                    send @ jquery.js?ver=1.12.4:4
                    ajax @ jquery.js?ver=1.12.4:4
                    qodeShowDemoExample @ qodef-ui.js?ver=4.9.6:1200
                    (anonymous) @ qodef-ui.js?ver=4.9.6:41
                    i @ jquery.js?ver=1.12.4:2
                    fireWith @ jquery.js?ver=1.12.4:2
                    ready @ jquery.js?ver=1.12.4:2
                    K @ jquery.js?ver=1.12.4:2
17:56:04.500    jquery.js?ver=1.12.4:4 XHR finished loading: POST "http://www.larainettecommunication.fr/wp-admin/admin-ajax.php".
                    send @ jquery.js?ver=1.12.4:4
                    ajax @ jquery.js?ver=1.12.4:4
                    connect @ heartbeat.js?ver=4.9.6:375
                    (anonymous) @ heartbeat.js?ver=4.9.6:453
                    setTimeout (async)
                    scheduleNextTick @ heartbeat.js?ver=4.9.6:451
                    interval @ heartbeat.js?ver=4.9.6:662
                    (anonymous) @ post.js?ver=4.9.6:331
                    i @ jquery.js?ver=1.12.4:2
                    fireWith @ jquery.js?ver=1.12.4:2
                    ready @ jquery.js?ver=1.12.4:2
                    K @ jquery.js?ver=1.12.4:2

This is the "Unexpected Token" error on "tinymce.min.js" and "wp-seo-post-scraper-771.min.js" which worries me.

But always the same mistake.

Can you help me?

Technical info

plugins list:

Contact Form 7 => Version 5.0.2 => Activer Duplicate Page and Post => Version 2.2 => Activer Easy Google Fonts => Version 1.4.3 => Désactiver Envato Market => Version 2.0.0 => Activer Hummingbird => Version 1.9.1 => Désactiver Qode Instagram Widget => Version 1.1 => Activer Redirection => Version 3.3.1 => Activer Slider Revolution => Version 5.4.7.2 => Activer WordPress Database Backup => Version 2.3.3 => Activer WordPress Importer => Version 0.6.4 => Activer WP Maintenance Mode => Version 2.2 => Activer WP Super Cache => Version 1.6.2 => Activer Sélectionner WP-Optimize => Version 2.2.4 => Activer Yoast SEO => Version 7.7.1 => Activer Éditeur de page => Version 5.5.2 => Activer

Cordially.

benvaassen commented 6 years ago

Thanks for reporting this issue. It's not really clear to me if you've already performed a plugin/theme conflict check. We'll need to know if this behaviour is caused by a conflict with a plugin or theme. Therefore we want to ask you to do the following:

If it still occurs:

If it doesn't occur anymore:

If the problem reoccurred after reactivating one of your plugins, please add that information to your bug report.

Thanks!

Raymhi commented 6 years ago

Hello, I have already tried all this without success.

I moved the whole site to another server to do more violent tests and then it works ...

To understand nothing is to copy paste from ftp and base yet.

I suspect the wordpress version of being corrupt somewhere, but where ...?

I advised my client to re-install his site. What do you think ?

benvaassen commented 6 years ago

Since I'm not able to reproduce the issue, I think it's specific to that site and/or server. You can try to reinstall WordPress by going to Dashboard -> Updates and clicking the button Re-install now.

However, I'll close the issue as this doesn't look like something we can fix with our plugin.