The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Fatal Error (5 posts)

  1. confuscius
    Posted 2 years ago #

    Fatal error: Cannot redeclare geoip_country_code_by_name()
    Reports at common/geoip/geoip.inc on line 438.

    Solve that and another one appears.


  2. namith.jawahar
    Plugin Author

    Posted 2 years ago #

    Looks like a conflict with another plugin that uses Geo IP database...You will have to deactivate the conflicting plugin to use Wp-Insert

  3. confuscius
    Posted 2 years ago #

    Funny that when I find the other plugin that they will probably say the same as you have just said!

    http://www.razvantudorica.com/03/cannot-redeclare-geoip_country_code_by_name/ - why is this not an appropriate solution for your code?

  4. namith.jawahar
    Plugin Author

    Posted 2 years ago #

    I'm doing that (check countries.php in common folder). Im checking for the whole GEO IP Class and preventing that from redeclaring itself if already present. the problem is everyone has to do just that and due to some strange reason the check is proving to be unreliable in different installations..

  5. confuscius
    Posted 2 years ago #

    Thanks for the info.

    I applied the test code to the two functions in geoip.inc as the fix for this issue - applying the test again cannot do any harm as far as I can see.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wp-Insert
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic