Settings not getting saved on localhost
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 gas75 on February 2, 2023, 15:31Hello,
I've been using the plugin on a production server without any issues. But now I'm trying to use it on localhost for developing theme, but the settings doesn't get saved. I've already set the PHP max-vars value.
Any ideas?
Hello,
I've been using the plugin on a production server without any issues. But now I'm trying to use it on localhost for developing theme, but the settings doesn't get saved. I've already set the PHP max-vars value.
Any ideas?
Quote from gas75 on February 2, 2023, 21:33I also see this on the console:
jQuery.Deferred exception: woof_ext_custom is not defined ReferenceError: woof_ext_custom is not defined
I also see this on the console:
jQuery.Deferred exception: woof_ext_custom is not defined ReferenceError: woof_ext_custom is not defined
Quote from Pablo Borysenco on February 3, 2023, 12:24Hello
What plugin version number are you using?
Are you having trouble saving extensions only or any settings?
Check this option PHP max-vars in Woocommerce->Status->https://share.pluginus.net/image/i20230203102428.png
Hello
What plugin version number are you using?
Are you having trouble saving extensions only or any settings?
Check this option PHP max-vars in Woocommerce->Status->https://share.pluginus.net/image/i20230203102428.png
Quote from gas75 on February 3, 2023, 12:31Hi Pablo,
I'm using Version 3.3.2. None of the settings can be saved (Structure, Options etc).
PHP max input vars: 30000 Thank you
Hi Pablo,
I'm using Version 3.3.2. None of the settings can be saved (Structure, Options etc).
| PHP max input vars: | 30000 |
Thank you
Quote from Pablo Borysenco on February 3, 2023, 13:03Ok! Do you have the opportunity to do a test on an online server?
Ok! Do you have the opportunity to do a test on an online server?
Quote from gas75 on February 3, 2023, 13:13As said on my initial post, I'm already using it on the production server without issues. Don't know why it doesn't work on the localhost.
The only differences are PHP version (8.0 on prod vs 7.4.8 on local) and DB engine (MySQL 8.0.32 vs 5.5.5-10.4.13-MariaDB on local)
As said on my initial post, I'm already using it on the production server without issues. Don't know why it doesn't work on the localhost.
The only differences are PHP version (8.0 on prod vs 7.4.8 on local) and DB engine (MySQL 8.0.32 vs 5.5.5-10.4.13-MariaDB on local)
Quote from Pablo Borysenco on February 6, 2023, 13:38Hello
unfortunately I have no idea why it doesn't work.
the only reason I think is - PHP max input vars. But you checked it.
How many taxonomies do you have?
Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png
Hello
unfortunately I have no idea why it doesn't work.
the only reason I think is - PHP max input vars. But you checked it.
How many taxonomies do you have?
Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png
Quote from gas75 on February 6, 2023, 14:38Hello,
Thank you for your reply. I have the standard product categories, tags and 4 different product attributes. License key pasted.
Thank you,
Kostas
Hello,
Thank you for your reply. I have the standard product categories, tags and 4 different product attributes. License key pasted.
Thank you,
Kostas
Quote from Pablo Borysenco on February 7, 2023, 12:14Hello Kostas
Ok! Please check browser console[F12] - maybe it's a JS error
can you make a video of the problem?
Hello Kostas
Ok! Please check browser console[F12] - maybe it's a JS error
can you make a video of the problem?
Quote from gas75 on February 7, 2023, 14:54Hi Pablo,
It most probably a JS error. My 2nd post has some console messages, but I'm posting here also:
Uncaught SyntaxError: Invalid hexadecimal escape sequence (at admin.php?page=wc-settings&tab=woof:4789:31)load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 jQuery.Deferred exception: woof_ext_custom is not defined ReferenceError: woof_ext_custom is not defined at HTMLDocument.<anonymous> (http://dev.*****.gr/wp-content/plugins/woocommerce-products-filter/js/plugin_options.js?ver=3.3.2:496:5) at e (http://dev.*****.gr/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30038) at t (http://dev.*****.gr/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30340) undefined S.Deferred.exceptionHook @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 t @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 setTimeout (async) (anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 c @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fireWith @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fire @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 c @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fireWith @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 ready @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 $ @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 Uncaught ReferenceError: woof_ext_custom is not defined at HTMLDocument.<anonymous> (plugin_options.js?ver=3.3.2:496:5) at e (load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30038) at t (load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30340)
Hi Pablo,
It most probably a JS error. My 2nd post has some console messages, but I'm posting here also:
Uncaught SyntaxError: Invalid hexadecimal escape sequence (at admin.php?page=wc-settings&tab=woof:4789:31)
load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 jQuery.Deferred exception: woof_ext_custom is not defined ReferenceError: woof_ext_custom is not defined at HTMLDocument.<anonymous> (http://dev.*****.gr/wp-content/plugins/woocommerce-products-filter/js/plugin_options.js?ver=3.3.2:496:5) at e (http://dev.*****.gr/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30038) at t (http://dev.*****.gr/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30340) undefined S.Deferred.exceptionHook @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 t @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 setTimeout (async) (anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 c @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fireWith @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fire @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 c @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 fireWith @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 ready @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 $ @ load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6 Uncaught ReferenceError: woof_ext_custom is not defined at HTMLDocument.<anonymous> (plugin_options.js?ver=3.3.2:496:5) at e (load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30038) at t (load-scripts.php?c=1&load%5Bchunk_0%5D=regenerator-runtime,wp-polyfill,wp-hooks,jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.1.1:6:30340)
Quote from Pablo Borysenco on February 8, 2023, 12:12Hello
Are you using any JS code optimization?
In the browser inspector check the variable woof_save_link
It looks like several JS variables are being included in the wrong order or not being included at all.
Hello
Are you using any JS code optimization?
In the browser inspector check the variable woof_save_link
It looks like several JS variables are being included in the wrong order or not being included at all.
Quote from gas75 on February 8, 2023, 16:55Hi Pablo,
No optimization plugins are running. In fact I've disabled all but WooCommerce and Husky, also tried with a 'blank' functions.php file. Also tried with a default WordPress theme. No result.
Hi Pablo,
No optimization plugins are running. In fact I've disabled all but WooCommerce and Husky, also tried with a 'blank' functions.php file. Also tried with a default WordPress theme. No result.
Quote from Pablo Borysenco on February 9, 2023, 10:35Hello
Did you find this variable in the content - https://c2n.me/4hN8alI.png
Hello
Did you find this variable in the content - https://c2n.me/4hN8alI.png
Quote from gas75 on February 9, 2023, 10:41Yes. On the plugin admin panel:
<script src='http://dev.****.gr/wp-includes/js/mce-view.min.js?ver=6.1.1' id='mce-view-js'></script>
<script src='http://dev.****.gr/wp-includes/js/imgareaselect/jquery.imgareaselect.min.js?ver=6.1.1' id='imgareaselect-js'></script>
<script src='http://dev.****.gr/wp-admin/js/image-edit.min.js?ver=6.1.1' id='image-edit-js'></script>
<script id='woof-js-before'>
var woof_save_link = "http://dev.****.gr/wp-admin/admin.php?page=wc-settings&tab=woof&settings_saved=1";
var woof_lang_saving = "HUSKY settings saving ...";
var woof_abspath = "D:\xampp\htdocs\dev.***.gr";
var woof_ext_path = "D:\xampp\htdocs\dev.****.gr\wp-admin/";
var woof_ext_url = "http://dev.****.gr/wp-admin/admin-ajax.php?action=woof_upload_ext&extnonce=a545a8d283";
var woof_ext_custom = "0";
var woof_show_notes = 0;</script>
<script src='http://dev.****.gr/wp-content/plugins/woocommerce-products-filter/js/plugin_options.js?ver=3.3.2' id='woof-js'></script>
Yes. On the plugin admin panel:
<script src='http://dev.****.gr/wp-includes/js/mce-view.min.js?ver=6.1.1' id='mce-view-js'></script>
<script src='http://dev.****.gr/wp-includes/js/imgareaselect/jquery.imgareaselect.min.js?ver=6.1.1' id='imgareaselect-js'></script>
<script src='http://dev.****.gr/wp-admin/js/image-edit.min.js?ver=6.1.1' id='image-edit-js'></script>
<script id='woof-js-before'>
var woof_save_link ="http://dev.****.gr/wp-admin/admin.php?page=wc-settings&tab=woof&settings_saved=1";
var woof_lang_saving ="HUSKY settings saving ...";
var woof_abspath ="D:\xampp\htdocs\dev.***.gr";
var woof_ext_path ="D:\xampp\htdocs\dev.****.gr\wp-admin/";
var woof_ext_url ="http://dev.****.gr/wp-admin/admin-ajax.php?action=woof_upload_ext&extnonce=a545a8d283";
var woof_ext_custom ="0";
var woof_show_notes = 0;
</script>
<script src='http://dev.****.gr/wp-content/plugins/woocommerce-products-filter/js/plugin_options.js?ver=3.3.2' id='woof-js'></script>
Quote from Pablo Borysenco on February 9, 2023, 15:42hello
Unfortunately I have no ideas.
But JS is not working properly.
As you can see, the variable is initialized before the file is included - https://share.pluginus.net/image/i20230209092852.png In this case, there should be no such error - https://c2n.me/4hNaPm6.png
This is very similar to incorrect optimization settings.
hello
Unfortunately I have no ideas.
But JS is not working properly.
As you can see, the variable is initialized before the file is included - https://share.pluginus.net/image/i20230209092852.png In this case, there should be no such error - https://c2n.me/4hNaPm6.png
This is very similar to incorrect optimization settings.
Quote from gas75 on February 10, 2023, 09:16Really strange... There couldn't be any cleaner installation. Don't know if XAMPP config is responsible in any way.. I'll have to look into it.
However since the prod install is working perfectly, I'm not worried that much.
Thank you for your time spent here. If I come up with any findings, I'll post them here for future reference
Kostas
Really strange... There couldn't be any cleaner installation. Don't know if XAMPP config is responsible in any way.. I'll have to look into it.
However since the prod install is working perfectly, I'm not worried that much.
Thank you for your time spent here. If I come up with any findings, I'll post them here for future reference
Kostas
Quote from Pablo Borysenco on February 10, 2023, 12:07Hello Kostas
Welcome;)
Hello Kostas
Welcome;)