Viewing 1 replies (of 1 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    I guess you are using SG Optimizer plugin, which is the main cause of this issue, aren’t you?

    If yes, it most probably cause by the lazy loading feature.

    A quick solution would be deactivate it programmatically during the product catalog tasks. Try to use this hook in order to do that:

    
    add_action('admin_init', function() {
    	if (false !== strpos(filter_input( INPUT_POST, 'action', FILTER_SANITIZE_STRING ), 'aepc_')) {
    		add_filter('pre_option_siteground_optimizer_lazyload_images', '__return_false');
    		add_filter('pre_site_option_siteground_optimizer_lazyload_images', '__return_false');
    	}
    });
    

    Place this code at the end of the functions.php file of your current theme or in a new plugin.

    Let me know if it works for you.

Viewing 1 replies (of 1 total)

The topic ‘Multiple errors in my catalog’ is closed to new replies.