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

Problem with adding filtered woot active product tables into web pages

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 applying filters to woot active product tables to show only desired items and excluding items that are filtered out into a web page, the table appears to be attempting to load the entire table of greater than 20,000 items which produces a block with the message"loading" and will never load which I assume is because the filter is not working correctly. After 8 hours with Hostinger's technical support, I have been advised to contact Woot plugin tech support.

They specificlly advised:

Yes, this is issue number 3, and I consider it a WOOT plugin issue. I have checked the hosting side: the site is active, and the table fails when WOOT sends its WordPress AJAX request. This is a plugin-level failure, not a PHP limit or .htaccess issue.

Please stop making changes to the live page or hosting settings. The next step is to investigate the WOOT configuration and its compatibility with WooCommerce, the theme, or other plugins. You should contact the WOOT plugin developer regarding this AJAX request failure, as they can check the plugin logs and provide an appropriate fix. From the hosting side, no further action is required at this time.

Please send the developer the page URL, the shortcode [woot id=3], and the screenshot showing the table stuck on “Loading.” Ask them to check the failed WordPress AJAX request and the DCS Series filter configuration.

Hostinger can check the hosting environment, but the WOOT developer needs to fix the plugin’s code or compatibility issue.

 

Hello,

First, an important point about how the table works. WOOT does not load all 20,000 products at once. When the page opens, the table sends one AJAX request to the server and asks only for the first page of products. By default this is 10 products per page, and at most as many as set in the table options (the per page selector goes up to 100 by default). A filter or a predefined rule only narrows this query down; it never makes it bigger. So the size of your catalog is not what keeps the table in the"Loading" state.

The only exception is when"Per page default" in the table #3 options is set to -1, which means"show all products". Please check this value; if it is -1, set it to 10 or 20.

The"Loading" message stays on the screen when the server does not return a correct answer to that AJAX request. The table waits for clean data, and if the server answers with a PHP error, a timeout, a 500/503/504 error page, a firewall block page, or extra output from another plugin or the theme, the table cannot read it and keeps showing"Loading". This is a server-side failure, and the server logs and the response of that request show exactly what went wrong. Hostinger said the request fails, but that alone does not tell us why it fails, and the reason is what we need.

To find it, please send us the following:

  1. The link to the page where the table is stuck on"Loading".
  2. A screenshot of the failed request. Open the page in Chrome, press F12, go to the Network tab and reload the page. Find the request named admin-ajax.php and click it. We need to see its Status code and the content of its Response tab.
  3. The PHP error log. Ask Hostinger for the PHP error log at the moment you open the page, or enable WordPress debug logging by adding these lines to wp-config.php:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Then open the table page once and send us the file wp-content/debug.log. You can use log plugin: https://wordpress.org/plugins/error-log-monitor/

  1. Screenshots of the Predefinition and Filter settings of table #3, including the DCS Series filter, and the value of"Per page default".
  2. Your WordPress, WooCommerce and WOOT versions.

With the error log and the request response we will see immediately whether the problem is in the table configuration, in the plugin, or in something else on the site, and tell you what to do.