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)


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


Comments

    1. <!DOCTYPE html>
    2. <html lang="en-AU">
    3. <head>
    4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    5. <meta name="viewport" content="width=device-width">
    6. <meta name='robots' content='noindex, follow' />
    7. <title>WordPress &rsaquo; Error</title>
    8. <style type="text/css">
    9. html {
    10. background: #f1f1f1;
    11. }
    12. body {
    13. background: #fff;
    14. border: 1px solid #ccd0d4;
    15. color: #444;
    16. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    17. margin: 2em auto;
    18. padding: 1em 2em;
    19. max-width: 700px;
    20. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    21. box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    22. }
    23. h1 {
    24. border-bottom: 1px solid #dadada;
    25. clear: both;
    26. color: #666;
    27. font-size: 24px;
    28. margin: 30px 0 0 0;
    29. padding: 0;
    30. padding-bottom: 7px;
    31. }
    32. #error-page {
    33. margin-top: 50px;
    34. }
    35. #error-page p,
    36. #error-page .wp-die-message {
    37. font-size: 14px;
    38. line-height: 1.5;
    39. margin: 25px 0 20px;
    40. }
    41. #error-page code {
    42. font-family: Consolas, Monaco, monospace;
    43. }
    44. ul li {
    45. margin-bottom: 10px;
    46. font-size: 14px ;
    47. }
    48. a {
    49. color: #0073aa;
    50. }
    51. a:hover,
    52. a:active {
    53. color: #006799;
    54. }
    55. a:focus {
    56. color: #124964;
    57. -webkit-box-shadow:
    58. 0 0 0 1px #5b9dd9,
    59. 0 0 2px 1px rgba(30, 140, 190, 0.8);
    60. box-shadow:
    61. 0 0 0 1px #5b9dd9,
    62. 0 0 2px 1px rgba(30, 140, 190, 0.8);
    63. outline: none;
    64. }


  • edited January 2022
    1. .button {
    2. background: #f3f5f6;
    3. border: 1px solid #016087;
    4. color: #016087;
    5. display: inline-block;
    6. text-decoration: none;
    7. font-size: 13px;
    8. line-height: 2;
    9. height: 28px;
    10. margin: 0;
    11. padding: 0 10px 1px;
    12. cursor: pointer;
    13. -webkit-border-radius: 3px;
    14. -webkit-appearance: none;
    15. border-radius: 3px;
    16. white-space: nowrap;
    17. -webkit-box-sizing: border-box;
    18. -moz-box-sizing: border-box;
    19. box-sizing: border-box;
    20.  
    21. vertical-align: top;
    22. }
    23.  
    24. .button.button-large {
    25. line-height: 2.30769231;
    26. min-height: 32px;
    27. padding: 0 12px;
    28. }
    29.  
    30. .button:hover,
    31. .button:focus {
    32. background: #f1f1f1;
    33. }
    34.  
    35. .button:focus {
    36. background: #f3f5f6;
    37. border-color: #007cba;
    38. -webkit-box-shadow: 0 0 0 1px #007cba;
    39. box-shadow: 0 0 0 1px #007cba;
    40. color: #016087;
    41. outline: 2px solid transparent;
    42. outline-offset: 0;
    43. }
    44.  
    45. .button:active {
    46. background: #f3f5f6;
    47. border-color: #7e8993;
    48. -webkit-box-shadow: none;
    49. box-shadow: none;
    50. }
    51.  
    52. </style>
    53. </head>
    54. </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.