Essential grid not working Dec 24

Essential grid has just stopped working on one of our websites - please help

There seems to be a constant loading error?

Hello @Jesswarack,

Thank you for the inquiry,

Did you install any plugins recently? Please make sure that the theme is updated to the latest version, then provide the login details in the secure note so we can check the issue properly.

For additional assistance, please make sure to contact the plugin developers.

Best regards,
Ismael

HI … no the plugin has been is for a few years now - The theme is all up to date … I will create a login for you and then send on a secure note.
Thanks
Jess

Hello @Jesswarack,

It might be an issue with PHP memory. I suggest you please increase the PHP memory. Please have a look at this document to learn more about how to increase the PHP memory. You may also contact your hosting provider to get the server settings below.

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_allowed_packet = 16MB
innodb_log_file_size = 128M
allow_url_fopen = On

Hope it helps
Thanks

Hi

All the PHP values have been changed - still not working

It loads 4 out of 34 products and shows a loading error

We can give you login access if needed

Hi @Jesswarack,

I have checked your website and found the issue by adding the Home Grid. There might be some different reasons behind your issue, I would like to suggest troubleshooting the following common issue to help us to recognize the reason.

1.Theme Related Issue
2.Plugin Conflict
3.Theme Update related issue
4.Child Theme Related issue
5.CSS/JS Customization
6.Disabling Cache
7.Disabling CDN

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins unless you are subscribed to One. If not subscribed, kindly consult with a developer or contact the plugin author.
Please note that we do not provide support for custom codes and 3rd party plugins unless you are subscribed to One service.
If none of them helps, please copy your live site to a staging server so we can troubleshoot freely without breaking your live site.
And give us access in the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi,

Thank you for your message.
There is no custom code on the website at all.

The Pro theme & essential grid is both up to date.

We disabled all plugins apart from WooCommerce / Pro / Essential Grid and we still get the same Loading error.

When you look at the Essential Grid in the back end it shows all the products in the pre-view grid, but will only show 4 on the web page with the error.

What should we do next?

Thanks

Thank you for the update.

We created a test page called “Test ESS Grid”, and when we view the page, the grids load, but there is an AJAX error. Unfortunately, the response doesn’t really tell us much.

{"success":false,"message":"Loading Error"}

Please use the following link to enable debug mode and the error logs so that we can check the issue further: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#example-wp-config-php-for-debugging

Example:

// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable debug log
define('WP_DEBUG_LOG', true);
// Display errors on the screen (optional - useful for development)
define('WP_DEBUG_DISPLAY', true);
// Disable display of errors on the screen for production (optional)
@ini_set('display_errors', 0);

We’ll check the site again once the error log is available.

Thank you for your patience.

Hi

We found that the essential grid setting under Grid Setting - If Load More is set to Infinite Scroll it causes the error - when set to None it loads all the products

Regards

Thank you for the info. Did you enable debugging as suggested above?

No
Only just seen your reply

Alright, let us know once debugging is enabled so we can check the error logs.

Hi

Debug enabled in wp-congig.php

You will need to set it back to Infinite Scroll to test it - please set it back to none when your done testing

Thanks

We’re getting these warnings.

Warning: Constant WP_DEBUG already defined
Warning: Constant WP_DEBUG_LOG already defined
Warning: Constant WP_DEBUG_DISPLAY already defined

Please remove the duplicates and make sure that constants are set to true. We can’t save the grid settings because of the warnings.

Hi

There are no duplicates in the wp-config.php

define(‘WP_ALLOW_MULTISITE’, true);
define( ‘DISALLOW_FILE_EDIT’, true );
define( ‘CONCATENATE_SCRIPTS’, false );
define( ‘WP_AUTO_UPDATE_CORE’, false );
define( ‘SCRIPT_DEBUG’, true );
define( ‘SAVEQUERIES’, true );
/* That’s all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( ‘ABSPATH’ ) ) {
define( ‘ABSPATH’, dirname( FILE ) . ‘/’ );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . ‘wp-settings.php’;

// Enable WP_DEBUG mode
define( ‘WP_DEBUG’, true );
// Enable debug log
define( ‘WP_DEBUG_LOG’, true );
// Display errors on the screen (optional - useful for development)
define(‘WP_DEBUG_DISPLAY’, true);
// Disable display of errors on the screen for production (optional)
@ini_set(‘display_errors’, 0);

Hi,

The debug issue has been fixed - was put in the wrong location

Thanks

Hey @Jesswarack,

That’s great and we’re glad that it is now working properly on your end.

Thank you.