PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Error 404 Pagination

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 please
If 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.
When I browse the web page, it works correctly until I reach page 7 and a 404 error appears.
I've tried to locate the error but it's kind of weird as this error is only from this page.
In the Query that is generated on page 7, I see something strange since at the end of the Query it says LIMIT 72, 12 and there are only 65 products in this category.


I put the purchase code.

Hello

Not sure if it depends on my plugin

Please  drop me  wp-admin access - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png

According to the tests that we have carried out, the woof filter plugin works correctly if we add the shortcode from the Divi Theme builder using a page content type, but if we add the shortcode to the custom taxonomy that we have created, the pagination error appears. For some reason, it seems that it is configured in some way, I think it may be the total page count, which is not correct, that's why when I reach page 7, the 404 error appears.
We have put an example video in the private area so you can see the error.
I am trying to see the source code that fails by putting some alerts in the code, but I have not reached the solution.

Hi, I have been looking for the error for several hours and I have detected that if in the default configuration of DIVI, we set the number of products in Woocommerce to 8, the pagination works correctly.

It means that the value that is put to the shortcode seems that even at the moment of changing the page it is lost.

https://prnt.sc/JS9_BLXBJiSv

Shorcode in funtions load in theme builder custom taxonimy template: [woof_products per_page=8 columns=4 is_ajax=0 taxonomies=product_cat:".$product_tax->term_id."]

 

 

We have created the site in stagin to be able to correctly test the filter. I have updated the url of the site in proven data so that you can check its operation.

I have updated the configuration and now the pagination works correctly, but we have a new problem.
If we use the filter from the pages of the specific categories of the products, it works correctly, but if we use the filter from the cutom taxonoy, bodegas, the filter does not work correctly. If we mark any data from this page in the filter, the page template changes and the number of products selected correctly does not appear. I have created a video where we see the error perfectly.
We use two shortcodes with the same configuration and we don't see why it works in categories and it doesn't work in the custom taxonomy bodegas.

Hello

please check  your  access- https://c2n.me/4fbUFWl.png

Try  to activate this  extension - https://products-filter.com/extencion/seo-url-request

Hi, i check the access. Now works fine.

I activathe this SEO extension, but same error.

Activating the SEO extension, it seems that the redirection of the page works correctly, now it does not mysteriously change the template, but we have the 404 error on page 3. It seems that for some reason, the products that appear in the filter, which now if they are correct, page 1 works, page 2 and 3 give a 404 error. I imagine that you will lose the total value of products. I have put the page that fails privately, if you put page 2 it works correctly.

Hello

Please  add FTP access - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png

Can I disable  plugins/theme  to  test?

my plugin shows the correct counter - https://c2n.me/4fcuxXj.jpg  - but the current template shows more products

ok. I send you the access in private data.

Yes, You Can I disable  plugins/theme  to  test.

Hello

Looks like it's a problem with the current theme.  My  test   with another  theme - https://c2n.me/4fdK4Ot

But you dontuse our shortcodes.

The shortcodes that we use are loaded from the Divi theme builder, you should try some page with those shortcodes, to verify that they do not work correctly. The plugin may have an error when it is loaded as a Shortcode from the editor.

I have updated in the private data with a video showing the error and, I see that exactly the same error happens. Please do not share videos publicly

Hello

with a video showing the error and, I see that exactly the same error happens. - Yes, of course, this is absolutely the same as what I showed you. This means that your theme is causing this conflict( https://share.pluginus.net/image/i20220322135251.png ).

I created a  test  page  with  shortcodes - https://your_site.kinsta.cloud/test-woof/ - Everything works perfectly

We cannot be responsible for your custom code

Hi, I have sent the errors that we found to the DIVI developers.

Hello

I think the problem is in your custom code(child theme)

Hi,

In our custom code, we just run your shortcode, adding the taxonomy id to it dynamically. We execute only these two shortcodes:

do_shortcode("[woof_products per_page=8 columns=4 is_ajax=0 paginate=true taxonomies=product_cat:".$product_tax->term_id."]");
and
return do_shortcode("[woof is_ajax=0 per_page=8 taxonomies=product_cat:".$term->term_id."]");

Hello

Ok!  then why is the normal shortcode working correctly on the test page

Perhaps just the problem is how you define the current category

What I see in the code - it does not work correctly. ( invalid taxonomy ID )