Every time we push from devkinsta to remote, and transfer from remote staging to Live, the ‘DOMAIN_CURRENT_SITE’ in wp-config.php becomes ‘undefined’.
define(‘DOMAIN_CURRENT_SITE’, ‘undefined’);
We want ‘DOMAIN_CURRENT_SITE’ to automatically replace itself with the appropriate value for Live, staging (with subdirectory changes each time), and devkinsta.
We are also operating a single site on another site, and it automatically replaces itself.
@VladimirM
Thank you for your message. I understand that the issue is a bug. Could you please let me know if there are any measures or solutions currently available to address this issue?
This should be resolved in DevKinsta version 2.3.15. which was released recently.
Can you please tell me what operating system, Docker version and DevKinsta are you using? If you still have DevKinsta 2.3.14, I would suggest backing up your local sites’ files and database and attempting update.
Thanks @VladimirM ! I fired up DevKinsta, and I am using 2.3.14 (Ubuntu version, but running on Fedora); but when I check for updates, it claims there is no update. I’ll try again later, then re-install it clean if it still says there’s no update.
This issue occurs only when pushing to Staging.
When pulling to DevKinsta, there is no problem.
I’m using a Mac with macOS Sequoia 15.5.
After pushing, I can manually replace the staging config to fix the domain undefined issue,
but if this is resolved in a newer version of DevKinsta, that would be great.