What version of WP are you using?
My guess would be pre 1.0 The comment approval stuff was added then. The script on the other hand appears to have been written for wordpress 1.0+. You can fix it by upgrading or by removing references to comment_approved in the SQL query and post_name to post_title. And I’m guessing ditching the Post Categories Stats section … I’d have to see the code to figure out if you could downgrade it to 0.7.
It used to work for me when it was version 1 platinum. Suddenly has this error message. I’m currently using 1.01 miles
Fatal error: [] operator not supported for strings in /home/protag/public_html/fated/wp-blog-header.php on line 328
hi guys, I am using it for my site now it works. I do not encounter any error.
@spirit892: I don’t think you are using the latest version of WordPress, because post_name column is not found in the database.
@lauren: I think that is WordPress Error because when it includes the header of WordPress there is an error. Did you get the latest one?
Yeah. I used an installer provided from my host to install wordpress. Do you think I should upgrade to the newest version? I heard a lot of people had problems with it though. Thank you all for your help.
Gamerz: I am using the 1.0.1 miles and still gets an error when I place the header.
I just removed it for now just so the stats can be shown.
http://fated.the-protagonist.net
hmm hi can you open wp-blog-header and copy line 328 out and paste it here?
this is line 328
<?php
if($page >= 1 && ((($page*$perpage)+1) < $totalcomments))
echo ‘Next page <b>»</b>’;
ops lauren is /home/protag/public_html/fated/wp-blog-header.php on line 328 =)
oops
here it is
// error_log(“$request”);
hmm, but the line is commented out, it will not execute it.
does it still gives u error?