I did a careful removal - checking after each set of files and it looks like the culprit is autoloader/config.products_with_attributes_stock.php