Quote Originally Posted by jeking View Post
I've got SBA Version 1.5.4 for Zen Cart Version 1.5.4 and it's been running fine for months.

Today, I've added a downloadable product but can't add it to the shopping cart. I get 'Your shopping cart is empty'. Error log says:

PHP Warning: Missing argument 1 for queryFactoryResult::__construct(), called in /home/ACCOUNT_NAME/public_html/includes/templates/herbally/templates/tpl_modules_attributes.php on line 28 and defined in /home/ACCOUNT_NAME/public_html/includes/classes/db/mysql/query_factory.php on line 550

I've checked the product is set-up correctly for a downloadable product.
I was a little unclear if the option value needed to get set to Read Only or not, so tried both.
Suggest trying one of the updated versions of the file which can be found in the main install. The file in question is as reported: includes/templates/YOUR_TEMPLATE/templates/tpl_modules_attributes.php. That file was updated in April of this year to address that particular error. At least as things appear in the history for that file and that line number... Though not entirely sure how that error plays into the adding of the product to the cart. Further, think would need more information about how things are setup in order to advise further on a downloadable only product, especially with having an older version of the file(s).