Menu

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mage_Catalog_Model_Resource_Product_Collection::addAttributeToSort(), 0 passed in /home/vm7cyvwhbwjc/public_html/app/code/local/ARW/AdvancedProductList/Block/Catalog/Product/Widget.php on line 330 and at least 1 expected in /home/vm7cyvwhbwjc/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php:1548 Stack trace: #0 /home/vm7cyvwhbwjc/public_html/app/code/local/ARW/AdvancedProductList/Block/Catalog/Product/Widget.php(330): Mage_Catalog_Model_Resource_Product_Collection->addAttributeToSort() #1 /home/vm7cyvwhbwjc/public_html/app/code/local/ARW/AdvancedProductList/Block/Catalog/Product/Widget.php(83): ARW_AdvancedProductList_Block_Catalog_Product_Widget->_getRandomProductsCollection() #2 /home/vm7cyvwhbwjc/public_html/app/code/local/ARW/AdvancedProductList/Block/Catalog/Product/Widget.php(365): ARW_AdvancedProductList_Block_Catalog_Product_Widget->_getProductCollection() #3 /home/vm7cyvwhbwjc/public_html/app/code/core/Mage/Core/Bl in /home/vm7cyvwhbwjc/public_html/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php on line 1548