(wp_)get_archives – where isi t?
MovableType just hosed my WP installation. I left my MT postings where they were, and had switched to WP. Unfortunately, I forgot to switch off comments in the MT blog, and someone has published a comment, presumable having found the page in Google. This caused an MT blog re-build which overwrote my index.php and several other files with ones for my MT blog.
I am trying to recreate my WP index.php from the index.php in the WP distro. BUT I get an error message when it runs (btw: line 39 is not line 39 in the WP index.php, I have added extra metadata):
Fatal error: Call to undefined function: wp_get_archives() in /homepages/32/d32389518/htdocs/index.php on line 39
I can’t find a file called wp_get_archives or a get_archives file (which I can see being called in a old back-up of my original index.php made after the initial installation) – where are these files and/or how can I recover my WP installation?? (Next time i will back these files up immediately!)
- The topic ‘(wp_)get_archives – where isi t?’ is closed to new replies.