Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42149

sgwatwp on "[Plugin: WordPress SEO by Yoast] Script Syntax Error: Unexpected token &"

$
0
0

Inspecting my admin page with chrome I see there is a script error that is showing up in the console. It says it's at line 239

setup = function () {
				$('#wpadminbar').pointer(wpseo_pointer_options).pointer('open');
									jQuery('#pointer-close').after('<a id="pointer-primary" class="button-primary">' + 'Allow tracking' + '</a>');
					jQuery('#pointer-primary').click(function () {
						document.location=&quot;http://mydomain.com/dev12/wp-admin/admin.php?page=wpseo_dashboard&allow_tracking=yes&nonce=36bc1a75fd&quot;;					});

^ the last document.location line is 239. So this is happening in part of the wp seo script. I have no other plugins enabled. And of course, when I deactivate Wordpress SEO the script error goes away.
This code appears in my footer.

My question is, where is this being loaded from? I also had a problem with Titles & Metas not displaying properly, which has not been answered yet. If I knew how scripts were loaded with this plugin maybe I would have a good start on diagnosing the problem, whether it be with my theme or something in Wordpress SEO.

http://wordpress.org/extend/plugins/wordpress-seo/


Viewing all articles
Browse latest Browse all 42149

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>