Error, can't activate latest version

4 views
Skip to first unread message

matrixagent

unread,
Mar 25, 2009, 9:23:42 AM3/25/09
to Feed Stats Plugin
Hi there,

after updating to 1.0.5 I always get the following error, which
prevents me from even activating the plugin:

Parse error: syntax error, unexpected $end in ......./wp-content/
plugins/feed-stats-plugin/feed-stats.php on line 299

Jonathan Wilde

unread,
Mar 25, 2009, 10:51:48 PM3/25/09
to feed-sta...@googlegroups.com
Thanks asking!

I don't get the same parse error on my production server. Running PHP
in lint-check mode didn't return any errors:

$ php -l feed-stats.php
No syntax errors detected in feed-stats.php

Perhaps the WordPress updater encountered a corrupted download? Have
you tried reinstalling the plugin?

Please tell me how this goes for you.

Jonathan
--
Jonathan Wilde
My Blog: www.speedbreeze.com

matrixagent

unread,
Mar 26, 2009, 6:20:50 PM3/26/09
to Feed Stats Plugin
Hi Jonathan,

the file is complete, I already checked that. I'm quite familiar with
PHP myself, but I couldn't find the reason for this particular error.
The file actually really ends at that line, it finishes with ?> - I
don't know why PHP wants it to continue.
I found that you still have two occurences of short opening tags ( <?
instead of <?php ), but also replacing those didn't change anything,
still the same error occurs.
I fear it may be related to one of the other plugins I'm using. I hope
I'll have time to copy my installation to a local server and do some
debugging there - I'll let you know if I find anything out.
Reply all
Reply to author
Forward
0 new messages