Fatal error: Cannot redeclare embed_init()

Fatal error: Cannot redeclare embed_init() (previously declared in /home/xxxxxx/public_html/mod/embed/start.php:15) in /home/xxxxxx/public_html/mod/embed/start.php on line 28

I sure hope someone can help me with this.  I have a fresh install 0f 1.10.3 after a major crash.  After I imported my old database I get the above error. At least part of the database is from 1.9.8. I have checked for duplicates in the "metastrings" table but found none.  I can disable all the plugins by adding a "disabled" file in the mod directory and every thing works fine.  I have tried renaming the plugins one by one but the error keeps coming back with the same error except for the next plugin.  My error log is listed below but I don't think it states what the cause is.

[Sat Mar 21 07:21:00 2015] [error] [client 69.171.230.115] Directory index forbidden by Options directive: /home/xxxxxx/public_html/_graphics/

  • Have you modified any of the core files? In stock 1.10.3, embed_init() appears only on line 14. Make sure that you copied all of the files and directories from the fresh download to your installation and overwrote existing files.

  • Brett, I have not modified any of the core files.  The error shows up on the top most plugin in the mod folder.  As I rename each plugin it shows up for the next plugin down the list in the mod directory.  I do feel that it is in someway related to the plugins and my database.  But I have no idea where to look.

  • you'll want to search your files for the embed_init() function. Seems like it must be duplicated somewhere.

  • It sounds like there are extra plugin references in your database. There are a few ways this could have happened: You appended the old database to the new one, or Elgg's installation directory doesn't or didn't match what's in the database.

    Did you follow the instructions for duplicating or restoring an Elgg installation? If you have an unused Elgg installation anywhere on that server, try renaming or removing it.

  • Brett, you got it.  I searched the database for the plugin names and found two references in the "objects_entity" table for each plugin.  I removed them and everything is fine now.  As I would remove each entry I would do a refresh on the page with the error and it would show an error for the next plugin.

    Yes I followed the guide lines as best as I could.  My database is so large that I have to break it down into tables and load them one at a time.  

    Thanks so much for the help and suggestions.