Support » Fixing WordPress » Parse Errors with archives and entry display

  • I’m getting this parse error with my archives for my blog (I’m using WordPress). I just put up a new layout and before that everything was working fine, and I haven’t changed anything about the code, except for re-organizing it to suit the new layout. The parse error goes like this:

    Fatal error: Call to undefined function: get_calendar() in /home/element/public_html/jesuis/header.php on line 154

    Line 154 would be this but of code for my webcam:
    click to view full
    It’s directly above the archives code. I doubt a simple link would affect this, so I don’t understand what’s going on. Did I mention that this error is preventing any code that shows up after it from appearing? The site itself is here.
    <b>[EDIT]</b> I’ve temporaily removed the codes or the archives to appear so that everything else below that code may show, but the code to display my entries isn’t working either now. Here’s what I’m getting:
    Fatal error: Call to undefined function: _e() in /home/element/public_html/jesuis/index.php on line 28
    I’ve posted this at this URL, but I’m wondering more now if re-installing WordPress (read replies on the thread) will delete my archived entries, and if I could do something else instead.

Viewing 3 replies - 1 through 3 (of 3 total)
  • That means you tried to use WP code before you included the WP files, so make sure including wp-blog-header.php is one of the very first lines in your header file.

    Mark (podz)


    Support Maven

    That function is in 1.2 – have you just upgraded ?
    If it worked before, and doesn’t now, what changed ?
    Was your ‘blog’ in another directory ?
    Have you moved any wp files ?

    Ah, everything’s working perfectly. I always forget that bit of code. Thank you. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Errors with archives and entry display’ is closed to new replies.