WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content by Country (by iControlWP)
[resolved] Gives Fatal error message when activated (15 posts)

  1. crashguru
    Member
    Posted 1 year ago #

    and is not being activated. I am using 3.42 and localhost Xampp

    http://wordpress.org/extend/plugins/custom-content-by-country/

  2. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Can you give me the fatal error details? It's probably in your xampp apache error log.

    Thanks

  3. crashguru
    Member
    Posted 1 year ago #

    I cant find something in the error log, but may be this message, when activating the plugin helps:
    Fatal error: Call-time pass-by-reference has been removed in C:\xampp\htdocs\wordpress\wp-content\plugins\custom-content-by-country\content-by-country.php on line 399

  4. chaos1
    Member
    Posted 1 year ago #

    @crashguru I assume your using a PHP 5.3+

    This may need to be changed by the plugin author for future release.

    I read this on stack overflow:
    http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available

  5. samguy
    Member
    Posted 1 year ago #

    Hi,

    I am also getting the same error after migrating to another server, and also after upgrading to a latest WordPress.
    here is what the error says,

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

    Fatal error: Call-time pass-by-reference has been removed in /home/username/domains/domain.com/public_html/wp-content/plugins/custom-content-by-country/content-by-country.php on line 399

  6. samguy
    Member
    Posted 1 year ago #

    This is what i found under the apache error log almost stating the same thing,

    [Fri Jan 04 21:17:45.142650 2013] [:error] [pid 18534] [client xx.xx.xx.x:49962] PHP Fatal error: Call-time pass-by-reference has been removed in /home/username/domains/domain.com/public_html/wp-content/plugins/custom-content-by-country/content-by-country.php on line 399, referer: http://www.domain.com/wp-admin/plugins.php?error=true&plugin=custom-content-by-country%2Fcontent-by-country.php&_error_nonce=9a9c3e629f

  7. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Got it. Thanks for the detailed logs.

    I'll fix these and release a fix in the next few days...

  8. worpit
    Member
    Posted 1 year ago #

    Okay, I've just released 2.8 which should solve this problem now.

  9. samguy
    Member
    Posted 1 year ago #

    Hi,
    Thanks for your cooperation, in fixing this issue, i will install the updated version later and update you here.

  10. samguy
    Member
    Posted 1 year ago #

    Hi,

    i just updated the plugin to the latest 2.8 version and i now see no error and it is working is absolutely fine.

    Thanks,

  11. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks! Great to hear it.

    Would you mind, if you had a second, giving a review of the plugin? This helps lends it legitimacy and adds confidence for people who might want to use it.

    Many thanks for your help.
    Cheers,
    Paul.

  12. samguy
    Member
    Posted 1 year ago #

    Hi,

    Trying to update to the latest update 2.9 but the "The IP-2-Nations" database is not being installed in my database, the browser is just keep on circulating or fetching the page but its not being installed. After a while the browser stops and gives me an timeout error.

    Please let me know what should i do, if possible how can i install the "The IP-2-Nations" database manually.

  13. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm, not sure what you can do about that. Sounds a bit odd especially if you have successfully before.

    You can do it manually of course, perhaps through phpmyadmin and upload the sql file that's included with the plugin itself... have a look through the folders for this plugin, it's in a folder called inc/ip2nation

    Simply import this sql file into your WP database and it'll do it all for you.

    Hope that helps you move forward with it.

    Cheers!
    Paul.

  14. samguy
    Member
    Posted 1 year ago #

    Thanks Paul Problem solved :)

  15. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    happy to hear! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.