I'm trying to remove the Sample Data from my M2 instance.
The sample data was installed at version 2.0.7, but the site has since been upgraded to version 2.1.
When I try to run
php bin/magento sampledata:remove, I am just greeted with a blank prompt, but when I look at the PHP logs, I see this:
[06-Sep-2016 07:53:13 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Config\Composer\Package::__construct() must be an instance of stdClass, null given, called in /Applications/MAMP/htdocs/Site/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /Applications/MAMP/htdocs/Site/vendor/magento/framework/Config/Composer/Package.php:26 Stack trace: #0 /Applications/MAMP/htdocs/Site/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Magento\Framework\Config\Composer\Package->__construct(NULL) #1 /Applications/MAMP/htdocs/Site/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #2 /Applications/MAMP/htdocs/Site/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #3 /Applications/MAMP/htdocs/Site in /Applications/MAMP/htdocs/Site/vendor/magento/framework/Config/Composer/Package.php on line 26
Does anyone know how to manually remove the sample data, and can you pass that glimmer of hope my way?