• Resolved activeseven

    (@activeseven)


    Brand new installation of WP, there is only one plugin I installed before this and it was wp-syntax. Not that that would have anything to do with a parse error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /nfs/c03/h04/mnt/57735/domains/blog.activeseven.com/html/wp-content/plugins/wp-pagenavi/scb/load.php on line 12

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu

    (@scribu)

    Hi,

    I’m having this same issue. Strangely, I have 6 different installs of WP on the server, and the plugin works flawlessly on 2 of them, but I get the parse error when trying to activate the plugin on the 4 others.

    When I checked the PHP version, it gave me this text “string(5) “4.4.8””. So I guess that’s the version of PHP I have. I wonder, though, that it works in some of my installs, and not others… Is there no way to make page-navi work with lesser versions than PHP 5 ?

    Plugin Author scribu

    (@scribu)

    There’s no point in that, since WordPress itself will require PHP5 pretty soon:

    PHP 4 and MySQL 4 End of Life Announcement

    spoonjab

    (@spoonjab)

    I was unable to activate or deactivate plugins from my admin panel. Also, plugins like Sexy Bookmarks stopped working. A general Google search lead me here and hinted at the problem wp-pagenavi. I wouldn’t have thought this plugin was the problem because it worked fine on the website.

    After deleting the wp-pagenavi plugin folder via FTP, everything works just find. Using WordPress 3.0.1

    I put var_dump(PHP_VERSION);
    an I get this
    string(6) “5.2.14”
    Warning: Cannot modify header information – headers already sent by (output started at /home/aquapech/public_html/wp-config.php:1) in /home/aquapech/public_html/wp-includes/pluggable.php on line 890

    Warning: Cannot modify header information – headers already sent by (output started at /home/aquapech/public_html/wp-config.php:1) in /home/aquapech/public_html/wp-includes/pluggable.php on line 890

    so I have php5 but this plug do not activate….

    sorry, plug is working, thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-PageNavi] Can't activate plugin: Parse Error.’ is closed to new replies.