WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-PageNavi] Fatal Error

[Plugin: WP-PageNavi] Fatal Error

Viewing 15 replies - 1 through 15 (of 34 total)
  • The same problem exist also in my installation.

    me too!

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/xxxxxx/public_html/wp/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 179

    I have the same problem :

    Plugin failed to reactivate due to a fatal error.
    
    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/yyyy/public_html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 179

    Thank you for any hint !

    I’m getting the same issue and now I have zero page navigation.

    fatal error.
    I had to login to Cpanel to delete the plugin.
    the new version sucks.

    I wish I hadn’t upgraded.
    I’m on wordpress 2.9.2
    atahualpa theme.

    Nope, your web hosting sucks. Read the link above.

    My PHP version is 5. And I have the same problem.

    WRONG Scribu
    the plugin sucks
    it’s not about my web hosting.
    here is the specs, check’em for yourself

    Theme x3
    Kernel version 2.6.18-164.2.1.el5.028stab066.7
    cPanel Version 11.25.0-RELEASE
    Shared Ip Address 174.120.159.137
    Architecture i686
    MySQL version 5.0.81-community-log
    cPanel Build 43473
    Path to sendmail /usr/sbin/sendmail
    Apache version 2.2.14
    PHP version 5.2.9
    cPanel Pro 1.0 (RC1)
    Service Status Click to View

    @astracan and @ozai:

    To see what PHP version you’re really running, add this line to wp-config.php:

    var_dump(PHP_VERSION);

    I get the same error message 🙁

    @scribu

    code line added.
    php version is 5.2

    regards,

    I receive another fatal error after the upgrade:

    Fatal error: Cannot redeclare debug()…. in /wp-includes/rss.php on line 1375

    @ozai: Thanks for checking. So what’s the error you’re getting?

    @marcomail: open wp-pagenavi/scb/Util.php and remove this block:

    if ( ! function_exists('debug') ):
    function debug() {
    	$args = func_get_args();
    
    	// integrate with FirePHP
    	if ( class_exists('FirePHP') ) {
    		$firephp = FirePHP::getInstance(true);
    		$firephp->group('debug');
    		foreach ( $args as $arg )
    			$firephp->log($arg);
    		$firephp->groupEnd();
    
    		return;
    	}
    
    	new scbDebug($args);
    }
    endif;

    This will be fixed in the next version.

    I get this message:

    Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/b/r/y/bryankremkau/html/skapunkphotos/public_html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 179

    What should I do to fix this?

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘[Plugin: WP-PageNavi] Fatal Error’ is closed to new replies.