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

  1. amitstreak
    Posted 2 years ago #


    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?


  2. vtxyzzy
    Posted 2 years 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
    Posted 2 years ago #

    Problem was different wamp versions.

Topic Closed

This topic has been closed to new replies.

About this Topic