fatal error when activating plugin (5 posts)

  1. lookatdan
    Posted 4 years ago #

    Hi scribu,

    When installing the wp-pagenavi i get the 'fatal error' message although I am running PHP5. When i downgraded to the 2.61 version of wp-pagenavi, i received a 'Cannot redeclare wp_pagenavi() (previously declared in...' error message. Any suggestions?

    thanks again.

  2. scribu
    Plugin Author

    Posted 4 years ago #

    So you're running WP 3.2.1, which requires PHP 5.2.4.

    Please post the entire error message in both cases.

  3. lookatdan
    Posted 4 years ago #

    Yep using WP 3.2.1 with PHP 5.2. I can upgrade to 5.3?

    The code I get with the 2.61 version of wp-pagenavi is:

    Fatal error: Cannot redeclare wp_pagenavi() (previously declared in /home/sites/dannyboy.com/public_html/wp-content/themes/Video/library/functions/custom_functions.php:492) in /home/sites/dannyboy.com/public_html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 186

    If i take this custom function out however, I get:

    Plugin could not be activated because it triggered a fatal error.


  4. scribu
    Plugin Author

    Posted 4 years ago #

    Ok, so after removing the custom function from your theme, neither version of WP-PageNavi works?

    Does it work with the twentyeleven theme?

  5. gchokeen
    Posted 3 years ago #

    same problem where is the mistake.does anybudy figureout problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic