• Receiving the Fetch Error when attempting to sync the POS. Clearing Cache and Data does not help. Each sync gives the same error:

    {“code”:”wp_die”,”message”:”<!DOCTYPE html>\r\n<html lang=’en’>\r\n\t<head>\r\n\t\t<meta charset=’utf-8′ />\r\n\t\t<meta name=’viewport’ content=’width=device-width, initial-scale=1′ />\r\n\t\t<meta http-equiv=\”cache-control\” content=\”no-cache\”>\r\n\t\t<meta http-equiv=\”cache-control\” content=\”private\”>\r\n\t\t<meta http-equiv=\”cache-control\” content=\”max-age=0, must-revalidate\”>\r\n\t\t<meta http-equiv=\”cache-control\” content=\”max-age=0, proxy-revalidate\”>\r\n\t\t<meta http-equiv=\”expires\” content=\”0\” />\r\n\t\t<meta http-equiv=\”expires\” content=\”Tue, 01 Jan 1980 1:00:00 GMT\” />\r\n\t\t<meta http-equiv=\”pragma\” content=\”no-cache\” />\r\n\r\n\t <!–[if lt IE 9]>\r\n\t <script src=’https://html5shiv.googlecode.com/svn/trunk/html5.js’></script&gt;\r\n\t <![endif]–>\r\n\t<style>\r\n\t\thtml{font-size: 14pt;}\r\n\t\th1{text-align:center}\r\n\t\th1.main{margin-top: 1em;margin-bottom: 3em;}\r\n\t\tdiv.container {text-align:center;}\r\n\t\tdiv.container p.js_notice{width: 60%; display: inline-block;}\r\n\t\tdiv.footer {color: #666; text-align: center;}\r\n\t\tdiv.footer a {color: #666; vertical-align:bottom; text-align: center;}\r\n\r\n\t\t@media (max-width: 600px) {\r\n\t\t}\r\n\r\n\t\t.spinner, #timer {\r\n\t\t\tmargin-left: auto;\r\n\t\t\tmargin-right: auto;\r\n\t\t\twidth: 70px;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 40px;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\r\n\t\t.spinner > div {\r\n\t\t\twidth: 14px;\r\n\t\t\theight: 14px;\r\n\t\t\tbackground-color: #333;\r\n\r\n\t\t\tborder-radius: 100%;\r\n\t\t\tdisplay: inline-block;\r\n\t\t\t-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;\r\n\t\t\tanimation: sk-bouncedelay 1.4s infinite ease-in-out both;\r\n\t\t}\r\n\r\n\t\t.spinner .bounce1 {\r\n\t\t\t-webkit-animation-delay: -0.32s;\r\n\t\t\tanimation-delay: -0.32s;\r\n\t\t}\r\n\r\n\t\t.spinner .bounce2 {\r\n\t\t\t-webkit-animation-delay: -0.16s;\r\n\t\t\tanimation-delay: -0.16s;\r\n\t\t}\r\n\r\n\t\t@-webkit-keyframes sk-bouncedelay {\r\n\t\t\t0%, 80%, 100% { -webkit-transform: scale(0) }\r\n\t\t\t40% { -webkit-transform: scale(1.0) }\r\n\t\t}\r\n\r\n\t\t@keyframes sk-bouncedelay {\r\n\t\t\t0%, 80%, 100% {\r\n\t\t\t\t-webkit-transform: scale(0);\r\n\t\t\t\ttransform: scale(0);\r\n\t\t\t} 40% {\r\n\t\t\t\t -webkit-transform: scale(1.0);\r\n\t\t\t\t transform: scale(1.0);\r\n\t\t\t }\r\n\t\t}\r\n\t</style>\r\n\t<script>\r\n\t\tvar ct_date = new Date;\r\n\r\n\t\tfunction set_spamFireWallCookie(cookie_name, cookie_value) {\r\n\t\t\tvar date = new Date;\r\n\t\t\tdate.setDate(date.getDate() + 30);\r\n\t\t\tdocument.cookie = cookie_name + ‘=’ + escape(cookie_value) + ‘; path=/; expires=’ + date.toUTCString() + ‘; samesite=lax’;\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tfunction get_current_url() {\r\n\t\t\tdocument.write(window.location.href);\r\n\t\t\treturn null;\r\n\t\t}\r\n\t</script>\r\n</head>\r\n\r\n<body>\r\n <div class=’container’>\r\n <h1 class=’main’>Anti-Flood is activated for your IP 208.168.227.176</h1>\r\n\r\n <div id=’js_info’><br />To continue working with the web site, please make sure that you have enabled JavaScript.</div>\r\n\r\n <div id=’js_passed’>\r\n\t\t\t<br />\r\n\t\t\t<p class=’js_notice’>You will be automatically redirected to the requested page after 30 seconds.</p>\r\n\t\t\t<br />\r\n\t\t\t<div class=\”spinner\”>\r\n\t\t\t\t<div class=\”bounce1\”></div>\r\n\t\t\t\t<div class=\”bounce2\”></div>\r\n\t\t\t\t<div class=\”bounce3\”></div>\r\n\t\t\t</div>\r\n\t\t\t<div id=\”timer\”></div>\r\n\t\t\t<p>The page was generated at Tue, 24 Nov 2020 17:07:17</p>\r\n\t\t\t<p>Browser time <span id=’curr_date’></span></p>\r\n </div>\r\n\r\n </div>\r\n\t<div style=’position: relative; line-height: 8px; text-align: center;’>\r\n\t\t<p style=\”margin: 0; display: inline-block; font-size: 10px; color: gray;\”>818016, </p>\r\n\t\t<p style=\”margin: 0; display: inline-block; font-size: 10px; color: gray;\”>cifoodsgroup.com</p>\r\n\t</div>\r\n <div class=’footer’>\r\n\t\tAntispam by CleanTalk\r\n </div>\r\n <script type=’text/javascript’>\r\n\t\tvar reload_timeout = 30000;\r\n\t\tdocument.getElementById(‘js_info’).style.display = ‘none’;\r\n\t\tdocument.getElementById(‘js_passed’).style.display = ‘block’;\r\n\t\tdocument.getElementById(‘curr_date’).innerHTML = ct_date.toGMTString();\r\n\r\n\t\tsetTimeout( function(){\r\n\t\t\tset_spamFireWallCookie(‘apbct_antiflood_passed’, ‘2dce999f7c80480ede464d57462c0f91’);\r\n\t\t}, 5000 );\r\n\r\n\t\tif(location.search.search(‘debug=1’) === -1) {\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\twindow.location.href = window.location.origin + window.location.pathname + ‘?sfw=pass’ + Math.round(ct_date.getTime()/1000);\r\n\t\t\t}, reload_timeout);\r\n\t\t}\r\n\r\n\t\t// Countdown function\r\n\t\tvar timer_block = document.getElementById(‘timer’);\r\n\t\ttimer_block.innerText = reload_timeout/1000;\r\n\t\tvar time;\r\n\t\tfunction countdown() {\r\n\t\t\ttime = parseInt( timer_block.innerText );\r\n\t\t\tvar current = parseInt( timer_block.innerText );\r\n\t\t\tvar cdw = setInterval( function(){\r\n\t\t\t\tcurrent = parseInt( current ) – 1;\r\n\t\t\t\ttimer_block.innerText = current;\r\n\t\t\t\tif ( 0 === parseInt( current ) ) {\r\n\t\t\t\t\tclearInterval( cdw );\r\n\t\t\t\t}\r\n\t\t\t}, 1000 );\r\n\t\t}\r\n\r\n\t\t// Run countdown\r\n\t\tcountdown();\r\n </script>\r\n</body>\r\n</html>”,”data”:{“status”:403},”additional_errors”:[]}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author bizswoop

    (@bizswoop)

    Based upon the Fetch error log you shared, we’d suspect either the POS plugin is conflicting with another plugin installed on your website as we see a lot of script references or you may have a lot of products and your website server is timing out before all the products load or a poor data connection.

    Our first recommendation, perform plugin conflict testing, as outlined here: https://www.bizswoop.com/plugin-theme-conflict-test/, deactivate all plugins except WooCommerce and Point of Sale plugin. Now with only those two plugins active, launch the POS plugin. If the Fetch error is no longer occurring, one-by-one active a plugin and test launching the POS. This will help identify which plugin is conflicting with the POS front-end loading.

    If performing the plugin conflict testing doesn’t resolve the Fetch Error. The next step would be reviewing your website server performance, if you are running a large store with over 1,000 products, we’d recommend increasing your WordPress Memory Limit and PHP time limit. In addition, during the initial POS load, the product and store data is transferring to the POS app. We’d also recommend using a good data connection, low bandwidth data connections can also impact the loading performance of the POS app.

    The good news, once the POS app loads, we store temporary data in the browser to enable the POS to run smooth and fast to process orders.

Viewing 1 replies (of 1 total)
  • The topic ‘Fetch Error Not Resolved’ is closed to new replies.