magento module:disable Dotdigitalgroup_Emailmagento setup:di:compile[root@server magento2]# bin/magento setup:di:compile
Compilation was started.
Proxies code generation... 0/7 [>---------------------------] 0% < 1 sec 44.0 Proxies code generation... 1/7 [====>-----------------------] 14% 1 sec 48.0 Mi Repositories code generation... 1/7 [====>-----------------------] 14% 1 sec 48 Repositories code generation... 2/7 [========>-------------------] 28% 3 secs 1 Service data attributes generation... 2/7 [========>-------------------] 28% 3 Service data attributes generation... 3/7 [============>---------------] 42% 3 Application code generator... 3/7 [============>---------------] 42% 3 secs 164 Application code generator... 4/7 [================>-----------] 57% 7 secs 188 Interceptors generation... 4/7 [================>-----------] 57% 7 secs 188.0 MiB
[Exception]
Warning: array_replace_recursive(): Argument #1 is not an array in /home/pl
aysports/public_html/magento2/vendor/magento/framework/App/DeploymentConfig
/Writer.php on line 135
setup:di:compile

@mikeguy ,please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this issue. The GitHub issue tracker is intended for Magento Core technical issues only. Dotmailer is not core codbase funcionally
@magento-engcom-team
Ok , so this error code when I perform the compile has to do with the dotmailer? You have confirmed ?
It crashes when i perform magento setup:di:compile so I am confused how this is not from core?
I feel that you have just quickly skimmed through the first line I wrote without looking at everything else. There are many other tickets like this that you guys follow up on. setup:di:compile is core...no?
For example Issue #12097
OK for anyone else who ever runs into this issue the problem was that the env.php file got corrupted somehow when disabling the module (in /app/etc).
I did not have a backup, so I found one available online: https://github.com/emizentech/magento2/blob/master/app/etc/env.php.sample
I used that to build it again and once complete I copied it into the /app/etc directory.
I still think this is a core issue as somehow this file got overwritten, and it shouldn't have... but anyhow.
Most helpful comment
OK for anyone else who ever runs into this issue the problem was that the env.php file got corrupted somehow when disabling the module (in /app/etc).
I did not have a backup, so I found one available online: https://github.com/emizentech/magento2/blob/master/app/etc/env.php.sample
I used that to build it again and once complete I copied it into the /app/etc directory.
I still think this is a core issue as somehow this file got overwritten, and it shouldn't have... but anyhow.