After running compilation code
php bin/magento setup:di:compile
I'am getting the following error
Fatal error: Cannot use 'Void' as class name as it is reserved in /va r/www/html/m2/vendor/magento/module-sales/Controller/Adminhtml/Order/Invoice/Voi d.php on line 9
My php version is 7.0.20-2
also while placing an order I'm getting following error
An error occurred on the server. Please try to place the order again
Can any one help me to resolve this ?