WordPress.org

Ready to get started?Download WordPress

Forums

Live Site to Localhost Issues (4 posts)

  1. aoaristacus
    Member
    Posted 12 months ago #

    Hi guys, on migrating my live site to the local host, i run into this error when try to run the site
    Warning: Creating default object from empty value in E:\xampp\htdocs\mysite\wp-content\plugins\table-of-contents-generator\table-of-contents-generator.php on line 25

    Parse error: syntax error, unexpected '}' in E:\xampp\htdocs\mysite\wp-content\plugins\vertical-menu-widget\vertical-menu-widget.php on line 140

    i know its an issue with the plugins and dont get how to solve it without deleting those plugins directly from the root folder. it also cant allow me access to the wp login because of this
    please help

  2. Rod Whiteley
    Member
    Posted 12 months ago #

    It looks like the vertical-menu-widget plugin is broken. The table-of-contents-generator might not be set up correctly in the database, or it might be broken too.

  3. aoaristacus
    Member
    Posted 12 months ago #

    and is there any other way to go about this apart from deleting it or do i need to re install it again to my dashboard. and what might have caused this?
    also to ask,on the wp-login page at my localhost, should i use the same credentials to login to the dashboard as i do on the live site

    appreciate the help

  4. Rod Whiteley
    Member
    Posted 12 months ago #

    If it happened to me, I would temporarily rename the faulty plugins so that WordPress cannot find them. Deleting them is also an option.

    If you copied the entire WordPress database and only edited the server-specific information, then your username and password are the same in both databases. Personally, I don't copy the database when doing this kind of thing. I use separate WordPress installations and databases, and I only copy the necessary content.

Reply

You must log in to post.

About this Topic