Sometimes that just happens. The widget data you are seeing is serialized data so something clobbered whatever mechanism should have rendered that or should have interpreted that data into the result.
The quick fix is to just manually repair that text by copying from the old site and then pasting it to the new.
Sometimes the old site is gone though… Let me introduce you to the Wayback Machine…
https://archive.org/web/
The Wayback Machine can be a real lifesaver. Use it when you can.
Another option is Google cache. I seldom need that but others have used it also. I’ll leave it up to you to explore that and see if it helps if you ever need it.
Thread Starter
Rob
(@rob70)
Hello jnashhawkins, thx for your reply
>Sometimes that just happens
Yes, thanks for your explanation, agree
>The quick fix is to just manually repair that text by copying from the old site and then pasting it to the new.
Yes, I copy the SQL widget_text line with all there components and it works well.
The removing of the widget_text is done by wordpress files.php
wordpress\wp-admin\includes\upgrade.php
wordpress\wp-includes\class-wp-widget.php
wordpress\wp-includes\widgets.php
Witch one is responsible for it I don’t know
>Wayback Machine, I use Notepad++ works for perfect.
Att: When I use the better search and replace plugin.
It don’t happend, it is I ok, all widget_text is preserved
Thx Rob, Poland
-
This reply was modified 1 year, 6 months ago by
Rob.
-
This reply was modified 1 year, 6 months ago by
Rob.
Thread Starter
Rob
(@rob70)
Final solution 3 steps
01 WordPress, better search and replace
https://mywebsite.eu to https://test.localhost
02 Notepad++ Find and replace
https:\\/\\/mywebsite.eu to https:\\/\\/test.localhost
03 Notepad++ Find mywebsite.eu
IF exist find a solution
Working fine and keep my widget_text in place
Thx Robert, Poland
-
This reply was modified 1 year, 6 months ago by
Rob.
-
This reply was modified 1 year, 6 months ago by
Rob.