# Error: Something bad happened - when trying to import site from myKinsta

**URL:** <https://community.kinsta.com/t/error-something-bad-happened-when-trying-to-import-site-from-mykinsta/5661>\
**Category:** Bug Reports\
**Created:** [November 3, 2025, 11:13pm UTC](https://community.kinsta.com/t/error-something-bad-happened-when-trying-to-import-site-from-mykinsta/5661 "2025-11-03T23:13:11Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![Adrian\_L](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/adrian_l/32/2810_2.png) [@Adrian\_L](https://community.kinsta.com/u/Adrian_L)\
**Post date:** [April 14, 2026, 2:22am UTC](https://community.kinsta.com/t/error-something-bad-happened-when-trying-to-import-site-from-mykinsta/5661/24 "2026-04-14T02:22:15Z")

</div>

Can you check the wp-config.php file of the site? Perhaps there is an entry of the staging domain hardcoded that could be overriding the site and home URLs in the database

For those warnings showing in Adminer. It’s another issue, but you can edit the adminer file to force the GUI not to display the warnings by setting this script provided in this other thread.

> [@Devkinsta\_adminer database Warnigns make GUI unreadable](https://community.kinsta.com/t/devkinsta-adminer-database-warnigns-make-gui-unreadable/3244/32):
>
> For anyone trying this solution, if "@ini\_set(‘display\_errors’, 0);” does not work and throws error, try setting it without ‘@’ - to the start of the file: /var/www/html/adminer.php ini\_set(‘display\_errors’, 0);

---

_[View the full topic](https://community.kinsta.com/t/error-something-bad-happened-when-trying-to-import-site-from-mykinsta/5661)._
