Yoast SEO Data Optimization error

edited January 2022 in SEO

Good day ,


i ran the SEO Data Optimization tool for YOAST and it gave me an error:

Error parsing the response to JSON


I then looked at the response of the error and it showed the following:

(the response of the error seems to be too much for the text block so will paste the rest on comments)


	<div id="col-447967267" class="col medium-8 small-12 large-8"  >
				<div class="col-inner" style="background-color:rgb(247, 247, 247);" >
			
			
	<div id="col-755671066" class="col co-col-mh small-12 large-12"  >
				<div class="col-inner"  >
			
			
	<div id="col-1232891894" class="col small-12 large-12"  >
				<div class="col-inner"  >
			
			    <!-- <div class="woocommerce-form-coupon-toggle">
	<br />
<b>Fatal error</b>:  Uncaught Error: Call to undefined function wc_print_notice() in /home2/lagrey/public_html/wp-content/themes/flatsome-child/functions.php:1187
Stack trace:
#0 /home2/lagrey/public_html/wp-includes/shortcodes.php(356): eks_custom_coupon('', '', 'custom_coupon')
#1 [internal function]: do_shortcode_tag(Array)
#2 /home2/lagrey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(custom...', 'do_shortcode_ta...', '\n[custom_coupon...')
#3 /home2/lagrey/public_html/wp-content/themes/flatsome/inc/shortcodes/row.php(216): do_shortcode('\n[custom_coupon...')
#4 /home2/lagrey/public_html/wp-includes/shortcodes.php(356): ux_col(Array, '\n[custom_coupon...', 'col_inner_1')
#5 [internal function]: do_shortcode_tag(Array)
#6 /home2/lagrey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(custom...', 'do_shortcode_ta...', '\n[col_inner_1 s...')
#7 /home2/lagrey/public_html/wp-content/themes/flatsome/inc/shortcodes/row.php(79): do_shortcode('\n[col_inner_1 s...')
#8 /hom in <b>/home2/lagrey/public_html/wp-content/themes/flatsome-child/functions.php</b> on line <b>1187</b><br />


Comments

  • <!DOCTYPE html>
    <html lang="en-AU">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    	<meta name="viewport" content="width=device-width">
    		<meta name='robots' content='noindex, follow' />
    	<title>WordPress &rsaquo; Error</title>
    	<style type="text/css">
    		html {
    			background: #f1f1f1;
    		}
    		body {
    			background: #fff;
    			border: 1px solid #ccd0d4;
    			color: #444;
    			font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    			margin: 2em auto;
    			padding: 1em 2em;
    			max-width: 700px;
    			-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    			box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    		}
    		h1 {
    			border-bottom: 1px solid #dadada;
    			clear: both;
    			color: #666;
    			font-size: 24px;
    			margin: 30px 0 0 0;
    			padding: 0;
    			padding-bottom: 7px;
    		}
    		#error-page {
    			margin-top: 50px;
    		}
    		#error-page p,
    		#error-page .wp-die-message {
    			font-size: 14px;
    			line-height: 1.5;
    			margin: 25px 0 20px;
    		}
    		#error-page code {
    			font-family: Consolas, Monaco, monospace;
    		}
    		ul li {
    			margin-bottom: 10px;
    			font-size: 14px ;
    		}
    		a {
    			color: #0073aa;
    		}
    		a:hover,
    		a:active {
    			color: #006799;
    		}
    		a:focus {
    			color: #124964;
    			-webkit-box-shadow:
    				0 0 0 1px #5b9dd9,
    				0 0 2px 1px rgba(30, 140, 190, 0.8);
    			box-shadow:
    				0 0 0 1px #5b9dd9,
    				0 0 2px 1px rgba(30, 140, 190, 0.8);
    			outline: none;
    		}
    


  • edited January 2022
    .button {
    			background: #f3f5f6;
    			border: 1px solid #016087;
    			color: #016087;
    			display: inline-block;
    			text-decoration: none;
    			font-size: 13px;
    			line-height: 2;
    			height: 28px;
    			margin: 0;
    			padding: 0 10px 1px;
    			cursor: pointer;
    			-webkit-border-radius: 3px;
    			-webkit-appearance: none;
    			border-radius: 3px;
    			white-space: nowrap;
    			-webkit-box-sizing: border-box;
    			-moz-box-sizing:    border-box;
    			box-sizing:         border-box;
    
    			vertical-align: top;
    		}
    
    		.button.button-large {
    			line-height: 2.30769231;
    			min-height: 32px;
    			padding: 0 12px;
    		}
    
    		.button:hover,
    		.button:focus {
    			background: #f1f1f1;
    		}
    
    		.button:focus {
    			background: #f3f5f6;
    			border-color: #007cba;
    			-webkit-box-shadow: 0 0 0 1px #007cba;
    			box-shadow: 0 0 0 1px #007cba;
    			color: #016087;
    			outline: 2px solid transparent;
    			outline-offset: 0;
    		}
    
    		.button:active {
    			background: #f3f5f6;
    			border-color: #7e8993;
    			-webkit-box-shadow: none;
    			box-shadow: none;
    		}
    
    			</style>
    </head>
    </html>
    	
    


  • Hello,

    It seems that the problem is not Betheme but Flatsome related.

    In that case, I am not able to help you.


    Thanks

  • makes sense?

Sign In or Register to comment.