Hi there,
Let me explain your issue.
There is a missing argument in the filter scripts “base_url” this argument is the archive page without the pagination, which is taken when filtering so when filtering in a paginate archive it always returns to the first page. Without this will get the current page ( in your case the 2 page of the archive ) to filter, which is not correct as the filtering results only has 1 page. That’s why you receive the 404, the page ( https://www.petspace.gr/product-category/skylos/trofes-skylou/ksira-trofi-skylou/page/2/?yith_wcan=1&product_tag=canagan ) doens’t exist, it doesn’t have enough products to create a second page.
In order to find why you don’t have this argument in the script, you need to remove all plugins one by one and pay attention in the process if the issue dissapears.
You can also check if you have any custom code that uses the following hook ‘yith_wcan_shortcodes_script_args’ which is the one used to access to the arguments of the script. Also please verified the files of the copy of the plugin in case something was changed.
Let me know if you managed to were able to fix the issue.
Have a great day.
Ok, got it! However as i told you i have already disabled ALL the plugins, i switched themes and deleted all the custom functions. Nothing changed. I will search for the “yith_wcan_shortcodes_script_args” though. The theme that im using has a bundle of plugins incorporated. On of them is the “Yith Woocommerce Wishilist” plugin which i havent installed. Do you think this might cause the problem? However as I mentioned before even with the Storefront theme i have the exact same problem.
As I have already mentioned the base_url that you have mentioned does not appear even if i disable all the plugins and use a different theme. Do you have any other suggestions?
Could anyone else offer a solution?