GithubHelp home page GithubHelp logo

Comments (9)

elsonrodriguez avatar elsonrodriguez commented on June 26, 2024

Yep, this happened to me as well.

Version 2.2 works fine, but the current commit (129419a) does not properly re-serialize.

If anyone else is having this problem please use 2.2, the cli is not as fully featured as 3.0, but it works well:

https://github.com/interconnectit/Search-Replace-DB/tree/2.2.0

from search-replace-db.

roborourke avatar roborourke commented on June 26, 2024

Hi, sorry it's caused you problems. Very strange. I'll add some test cases
for the cli script. Can provide any additional info eg. PHP version etc?

from search-replace-db.

theDanielJLewis avatar theDanielJLewis commented on June 26, 2024

I know it's been a couple years, but any update on this? I just used the current version and it didn't serialize settings in my wp_postmeta table.

from search-replace-db.

zanzix avatar zanzix commented on June 26, 2024

Will be looking more into this soon

from search-replace-db.

adibpg avatar adibpg commented on June 26, 2024

Any news on this?

from search-replace-db.

theDanielJLewis avatar theDanielJLewis commented on June 26, 2024

At least for my needs, I discovered what happened with the some data in wp_postmeta. I posted details about this issue with WP-CLI's search-and-replace feature.

from search-replace-db.

lubieowoce avatar lubieowoce commented on June 26, 2024

just hit this :( Beaver Builder stores serialized PHP objects in wp_postmeta and certain string lengths weren't properly updated after changing the website url. the weird part is that it worked correctly in some cases, but failed in others (2 rows ok, 4 rows broken) with no obvious reason - the data is pretty similar in all 6 cases. they all contain UTF8 text, including 3-byte characters like em-dashes (the readme mentions them as problematic).

from search-replace-db.

roborourke avatar roborourke commented on June 26, 2024

@lubieowoce you could try changing the data in those 6 cases until it works successfully. Typically if the unserialisation fails it's because the object is not a stdClass and some other type of object that isn't loaded when the script is running. It's really unfortunate beaver builder stores custom objects in the database like this :/

from search-replace-db.

lubieowoce avatar lubieowoce commented on June 26, 2024

they are stdClass. however i just realized there's a chance that my issue isn't caused SRDB at all – i changed the url when restoring a Duplicator backup, so it might've gotten messed up back then (still weird that some of the posts were updated correctly). i'll make a fresh copy and try to eliminate that possibility

from search-replace-db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.