Hi there,
this might help anybody who still runs into this issue.
i have a working solution with this plugin (I’m not related to this in any way😊).
https://wordpress.org/plugins/better-search-replace/
Explanation:
The former issue came due to the fact that bricks uses serialized data in e.g. wp_postmeta table.
Let’s take a look at an example:
// part of db field data:
s:60:"https://dev.mydomain.de/wp-content/uploads/2025/07/image.jpg";
s:60 describes the string length. here: 60 chars long.
If you now run a script/plugin which searches for “https://dev.mydomain.de” and replaces it with e.g. “https://my-new-domain.de/”, the updated string becomes:
s:60:"https://www.my-new-domain.de/wp-content/uploads/2025/07/image.jpg";
…but this does not update the string length which now is 65.
The entry should be
s:65:"https://www.my-new-domain.de/wp-content/uploads/2025/07/image.jpg";
This is why some installations fail after replacing urls in the database items.
The plugin mentioned above replaces those values correctly so I recommend this as working solution.