Magento Uncaught ArgumentCountError: Too few arguments to function magento 2 April 13, 2018 Pramod T P Leave a comment Run the following commands to fix this issue. php bin/magento cache:flush bin/magento setup:di:compile php bin/magento setup:upgrade bin/magento setup:di:compile