when i run php bin/magento deploy:mode:set production or
php -d memory_limit=768M bin/magento deploy:mode:set production I received the following error, how can i fix it?
Config "dev/debug/debug_logging = 0" has been saved. Starting compilation Something went wrong while compiling generated code. See the error log for detai ls. Disabling maintenance mode Command returned non-zero exit code: `/opt/cpanel/ea-php71/root/usr/bin/php -f /home/xxxxxx/public_html/bin/mage nto setup:di:compile` [2019-05-18 06:02:04] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} [] [2019-05-18 06:02:09] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} [] [2019-05-18 06:02:19] main.ERROR: /opt/cpanel/ea-php71/root/usr/bin/php -f /home/myusername/public_html/bin/magento setup:di:compile 2>&1 Compilation was started. %message% 0/7 [>---------------------------] 0% < 1 sec 62.0 MiB%message% 0/7 [>---------------------------] 0% < 1 sec 62.0 MiBProxies code generation... 0/7 [>---------------------------] 0% < 1 sec 62.0 MiB Proxies code generation... 1/7 [====>-----------------------] 14% < 1 sec 64.0 MiB Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 64.0 MiB [] []