and is not being activated. I am using 3.42 and localhost Xampp
Can you give me the fatal error details? It’s probably in your xampp apache error log.
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
@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:
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
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
Got it. Thanks for the detailed logs.
I’ll fix these and release a fix in the next few days…
Okay, I’ve just released 2.8 which should solve this problem now.
Thanks for your cooperation, in fixing this issue, i will install the updated version later and update you here.
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! 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.
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.
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
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.
- The topic ‘Gives Fatal error message when activated’ is closed to new replies.