Title: No data loading again
Last modified: April 6, 2020

---

# No data loading again

 *  Resolved [leunamme](https://wordpress.org/support/users/leunamme/)
 * (@leunamme)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/)
 * Hi dear,
 * I had updated the plug-in and everything was working properly until this morning
   when the same problem of displaying data from the specific country started again.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-data-loading-again%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [sindycanber](https://wordpress.org/support/users/sindycanber/)
 * (@sindycanber)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12640627)
 * Hi
    -  This reply was modified 6 years ago by [sindycanber](https://wordpress.org/support/users/sindycanber/).
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12640640)
 * Hello [@leunamme](https://wordpress.org/support/users/leunamme/)
    I don’t know
   why API authors are keep changing the Côte d’Ivoir keywords form one to another,
   maybe tomorrow will be another keywords..
 * One temporarily solution here:
 * 1 use a text editor(like Notepad++, textmate) open corona-virus-data\admin\class-
   corona-virus-data-admin.php
 * 2 Search and find “Ivory Coast” in line 208, replace the fist and second to “
   Côte d’Ivoire” or “CIV”
 * 3 Save this php file, go to your setting page reload it, choose Côte d’Ivoire
   form the selector, hit save settings.
 * 4 Data should be there in your front end.
 * I will wait a few days to see if it is fixed on Côte d’Ivoire or another words,
   then I will push an update.
 * Thank you [@leunamme](https://wordpress.org/support/users/leunamme/)
 * All is well. 🙂
 *  Thread Starter [leunamme](https://wordpress.org/support/users/leunamme/)
 * (@leunamme)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12642079)
 * Hi dear,
 * I tried the manipulation that you suggested to me and my site just crashed (reassure
   you it’s on my test site).
    This is how I changed the line of code (208). Did
   I do wrong ?: I’ve the same with CIV
 * `<option value="Côte d'Ivoire" <?php selected( $options['cov__select_field_0'],'
   Côte d\'Ivoire' ); ?>><?php _e('Ivory Coast','corona-virus-data'); ?></option
   >`
 * See error message:
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS) in /htdocs/lab.eurekaconseil.
   net/wp-content/plugins/corona-virus-data/admin/class-corona-virus-data-admin.
   php on line 1
    Une erreur critique est survenue sur votre site.
    -  This reply was modified 6 years ago by [leunamme](https://wordpress.org/support/users/leunamme/).
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12643185)
 * [@leunamme](https://wordpress.org/support/users/leunamme/)
    Hi try to make “Côte
   d’Ivoire” to “civ”, witch is its ios3 code. like this:
 * `<option value="civ" <?php selected( $options['cov__select_field_0'], 'civ' );?
   >><?php _e('Ivory Coast','corona-virus-data'); ?></option>`
 * After that you should select this country and save again.
 * Sorry for the trouble.
    -  This reply was modified 6 years ago by [Duke Yin](https://wordpress.org/support/users/freeduke/).
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12643195)
 * Remember to use a pure text editor to edit a php file
 *  Thread Starter [leunamme](https://wordpress.org/support/users/leunamme/)
 * (@leunamme)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12646049)
 * I did the manipulation as indicated with “civ” but it’s the same. The site crashes
   with the same error message (impossible even to have access to the WordPress 
   backoffice):
 * Message error:
 * **Parse error**: syntax error, unexpected ‘class’ (T_CLASS) in **/htdocs/lab.
   eurekaconseil.net/wp-content/plugins/corona-virus-data/admin/class-corona-virus-
   data-admin.php** on line **1**
 * I looked at line 1 of the file (the very first line of the code) and it was only
   this bit of instruction. There is nothing else :
    `<?php`
 * I use Notepad++
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12649162)
 * [@leunamme](https://wordpress.org/support/users/leunamme/) Hi sorry for late
 * Try to delete and reinstall the plugin, use wordpress built-in plugin editor 
   to modify the code.
 * It’s in wp-admin -> Plugins – Plugin editor.
 * Find Coronavirus data in top right, then select admin – > class-corona-virus-
   data-admin.php
 * Replace the “Côte d’Ivoire” with “civ” in line 208
 * Good luck
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12649913)
 * [@leunamme](https://wordpress.org/support/users/leunamme/) Hi there
 * I made an update for this and some other issue, please update.
 *  Thread Starter [leunamme](https://wordpress.org/support/users/leunamme/)
 * (@leunamme)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12649957)
 * Hey, how are you. I just did the update and everything works again. I hope this
   time is the right one
 * [ no need to leave link to your site again ]
    -  This reply was modified 6 years ago by [Yui](https://wordpress.org/support/users/fierevere/).
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12649991)
 * [@leunamme](https://wordpress.org/support/users/leunamme/) yeah, hope this API
   won’t change the key words of Côte d’Ivoire angin, cheers.
 *  Thread Starter [leunamme](https://wordpress.org/support/users/leunamme/)
 * (@leunamme)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12664241)
 * Hello friend,
 * The issue is occured again. How can i solve it ?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘No data loading again’ is closed to new replies.

 * ![](https://ps.w.org/corona-virus-data/assets/icon-256x256.png?rev=2248214)
 * [Corona Virus Data](https://wordpress.org/plugins/corona-virus-data/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/corona-virus-data/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/corona-virus-data/)
 * [Active Topics](https://wordpress.org/support/plugin/corona-virus-data/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/corona-virus-data/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/corona-virus-data/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [leunamme](https://wordpress.org/support/users/leunamme/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/no-data-loading-again/#post-12664241)
 * Status: resolved