JS Errors in alasql.min.js?ver=2.2.3
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from tollwearspot on December 16, 2019, 18:07When turbo mode is enabled i get the following error in the console:
alasql.min.js?ver=2.2.3:1 Uncaught SyntaxError: Parse error on line 1:
...k' ) OR check_id(id,)=true ) AND ( taxo
-----------------------^
Expecting 'LITERAL', 'BRALITERAL', 'LPAR', 'NUMBER', 'STRING', 'SHARP', 'DOLLAR', 'AT', 'VALUE', 'COLON', 'NOT', 'IF', 'PLUS', 'STAR', 'QUESTION', 'CURRENT_TIMESTAMP', 'JAVASCRIPT', 'NEW', 'CAST', 'CONVERT', 'SUM', 'COUNT', 'MIN', 'MAX', 'AVG', 'FIRST', 'LAST', 'AGGR', 'ARRAY', 'REPLACE', 'DATEADD', 'DATEDIFF', 'INTERVAL', 'TRUE', 'FALSE', 'NSTRING', 'NULL', 'EXISTS', 'ARRAYLBRA', 'BRAQUESTION', 'CASE', 'TILDA', 'MINUS', 'ATLBRA', 'LCUR', got 'RPAR'
at mi.bi.parseError (alasql.min.js?ver=2.2.3:1)
at mi.parse (alasql.min.js?ver=2.2.3:1)
at Function.e.parse (alasql.min.js?ver=2.2.3:1)
at Function.e.dexec (alasql.min.js?ver=2.2.3:1)
at Function.e.exec (alasql.min.js?ver=2.2.3:1)
at e (alasql.min.js?ver=2.2.3:1)
at WoofTurboMode_obj.do_query (turbo_mode.js?ver=2.2.3:399)
at WoofTurboMode_obj.search (turbo_mode.js?ver=2.2.3:686)
at turbo_mode.js?ver=2.2.3:128
bi.parseError @ alasql.min.js?ver=2.2.3:1
parse @ alasql.min.js?ver=2.2.3:1
e.parse @ alasql.min.js?ver=2.2.3:1
e.dexec @ alasql.min.js?ver=2.2.3:1
e.exec @ alasql.min.js?ver=2.2.3:1
e @ alasql.min.js?ver=2.2.3:1
WoofTurboMode_obj.do_query @ turbo_mode.js?ver=2.2.3:399
WoofTurboMode_obj.search @ turbo_mode.js?ver=2.2.3:686
(anonymous) @ turbo_mode.js?ver=2.2.3:128
setTimeout (async)
(anonymous) @ turbo_mode.js?ver=2.2.3:124
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:122
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:116
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:113
i @ jquery.js?ver=1.12.4-wp:2
add @ jquery.js?ver=1.12.4-wp:2
n.fn.ready @ jquery.js?ver=1.12.4-wp:2
WoofTurboMode_obj.do_after_upload @ turbo_mode.js?ver=2.2.3:105
(anonymous) @ turbo_mode.js?ver=2.2.3:389
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
n.<computed> @ jquery.js?ver=1.12.4-wp:4
getJSON @ jquery.js?ver=1.12.4-wp:4
WoofTurboMode_obj.uploadFile @ turbo_mode.js?ver=2.2.3:384
WoofTurboMode_obj.init @ turbo_mode.js?ver=2.2.3:99
WoofTurboMode_obj @ turbo_mode.js?ver=2.2.3:1765
(anonymous) @ turbo_mode.js?ver=2.2.3:1769
When turbo mode is enabled i get the following error in the console:
alasql.min.js?ver=2.2.3:1 Uncaught SyntaxError: Parse error on line 1:
...k' ) OR check_id(id,)=true ) AND ( taxo
-----------------------^
Expecting 'LITERAL', 'BRALITERAL', 'LPAR', 'NUMBER', 'STRING', 'SHARP', 'DOLLAR', 'AT', 'VALUE', 'COLON', 'NOT', 'IF', 'PLUS', 'STAR', 'QUESTION', 'CURRENT_TIMESTAMP', 'JAVASCRIPT', 'NEW', 'CAST', 'CONVERT', 'SUM', 'COUNT', 'MIN', 'MAX', 'AVG', 'FIRST', 'LAST', 'AGGR', 'ARRAY', 'REPLACE', 'DATEADD', 'DATEDIFF', 'INTERVAL', 'TRUE', 'FALSE', 'NSTRING', 'NULL', 'EXISTS', 'ARRAYLBRA', 'BRAQUESTION', 'CASE', 'TILDA', 'MINUS', 'ATLBRA', 'LCUR', got 'RPAR'
at mi.bi.parseError (alasql.min.js?ver=2.2.3:1)
at mi.parse (alasql.min.js?ver=2.2.3:1)
at Function.e.parse (alasql.min.js?ver=2.2.3:1)
at Function.e.dexec (alasql.min.js?ver=2.2.3:1)
at Function.e.exec (alasql.min.js?ver=2.2.3:1)
at e (alasql.min.js?ver=2.2.3:1)
at WoofTurboMode_obj.do_query (turbo_mode.js?ver=2.2.3:399)
at WoofTurboMode_obj.search (turbo_mode.js?ver=2.2.3:686)
at turbo_mode.js?ver=2.2.3:128
bi.parseError @ alasql.min.js?ver=2.2.3:1
parse @ alasql.min.js?ver=2.2.3:1
e.parse @ alasql.min.js?ver=2.2.3:1
e.dexec @ alasql.min.js?ver=2.2.3:1
e.exec @ alasql.min.js?ver=2.2.3:1
e @ alasql.min.js?ver=2.2.3:1
WoofTurboMode_obj.do_query @ turbo_mode.js?ver=2.2.3:399
WoofTurboMode_obj.search @ turbo_mode.js?ver=2.2.3:686
(anonymous) @ turbo_mode.js?ver=2.2.3:128
setTimeout (async)
(anonymous) @ turbo_mode.js?ver=2.2.3:124
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:122
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:116
each @ jquery.js?ver=1.12.4-wp:2
(anonymous) @ turbo_mode.js?ver=2.2.3:113
i @ jquery.js?ver=1.12.4-wp:2
add @ jquery.js?ver=1.12.4-wp:2
n.fn.ready @ jquery.js?ver=1.12.4-wp:2
WoofTurboMode_obj.do_after_upload @ turbo_mode.js?ver=2.2.3:105
(anonymous) @ turbo_mode.js?ver=2.2.3:389
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
n.<computed> @ jquery.js?ver=1.12.4-wp:4
getJSON @ jquery.js?ver=1.12.4-wp:4
WoofTurboMode_obj.uploadFile @ turbo_mode.js?ver=2.2.3:384
WoofTurboMode_obj.init @ turbo_mode.js?ver=2.2.3:99
WoofTurboMode_obj @ turbo_mode.js?ver=2.2.3:1765
(anonymous) @ turbo_mode.js?ver=2.2.3:1769
Quote from Pablo Borysenco on December 17, 2019, 13:27Hello
Try in file - wp-content\plugins\woocommerce-products-filter\ext\turbo_mode\js\turbo_mode.js change code - https://c2n.me/458Nsot.png
if(res){
query = "( (stock='instock' ) OR check_id(id," + res + ")=true )";
}else{
query = " (stock='instock')";
}do test please
Hello
Try in file - wp-content\plugins\woocommerce-products-filter\ext\turbo_mode\js\turbo_mode.js change code - https://c2n.me/458Nsot.png
if(res){
query ="( (stock='instock' ) OR check_id(id," + res +")=true )";
}else{
query =" (stock='instock')";
}
do test please