WordPress.org

Ready to get started?Download WordPress

Forums

Warning messages after moving local site between machines (3 posts)

  1. amitstreak
    Member
    Posted 1 year ago #

    Hi,

    I have moved a local wordpress site from one computer to another.

    Now the site loads on the new machine an d i can switch to other pages in the site but except for the homepage I get many "Creating default object from empty value in" warnings on every page.

    What's causing this?

    Thanks

  2. vtxyzzy
    Member
    Posted 1 year ago #

    How did you transfer the files to the new site? There are often many URL's and paths stored in the WP database in 'serialized' form. That is, the strings are stored along with their length. Using a normal 'search and replace' will cause problems if the new URL or path is a different length from the old one. You must use a special tool to copy from one site to another.

    Here is an article with the steps that I use to migrate (copy) a site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

  3. amitstreak
    Member
    Posted 12 months ago #

    Problem was different wamp versions.

Topic Closed

This topic has been closed to new replies.

About this Topic