Title: hereismine's Replies | WordPress.org

---

# hereismine

  [  ](https://wordpress.org/support/users/hereismine/)

 *   [Profile](https://wordpress.org/support/users/hereismine/)
 *   [Topics Started](https://wordpress.org/support/users/hereismine/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hereismine/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hereismine/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hereismine/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hereismine/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hereismine/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPGet API - Connect to any external REST API] Blank or no data appear](https://wordpress.org/support/topic/blank-or-no-data-appear/)
 *  Thread Starter [hereismine](https://wordpress.org/support/users/hereismine/)
 * (@hereismine)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/blank-or-no-data-appear/#post-16785116)
 * Sorry I just gave a response now, I’ve resolved that. Turns out it should be 
   like this $data[0][‘author’]; and the results appear. Thank you for your response!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPGet API - Connect to any external REST API] Blank or no data appear](https://wordpress.org/support/topic/blank-or-no-data-appear/)
 *  Thread Starter [hereismine](https://wordpress.org/support/users/hereismine/)
 * (@hereismine)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/blank-or-no-data-appear/#post-16752073)
 * FYI, If I just write echo $data[‘author’]; like your tutorial did and it shows
   a warning:
 *     ```wp-block-code
       Warning:  Undefined array key “author” in /var/www/html/wp-content/plugins/code-snippets/php/front-end/class-frontend.php(239) : eval()’d code on line 10
       ```
   
 * So I changed to echo $data[‘author’] ?? null; and the warning disappeared but
   no data were shown. I really appreciate it if you can help me. Thank you…
    -  This reply was modified 3 years, 2 months ago by [hereismine](https://wordpress.org/support/users/hereismine/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPGet API - Connect to any external REST API] Blank or no data appear](https://wordpress.org/support/topic/blank-or-no-data-appear/)
 *  Thread Starter [hereismine](https://wordpress.org/support/users/hereismine/)
 * (@hereismine)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/blank-or-no-data-appear/#post-16747082)
 * I followed exactly as the tutorial did. Only the echo part of the data does not
   appear. When raw json and var dump, data shows..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Snippets] Undefined array key… eval()’d code on line…](https://wordpress.org/support/topic/undefined-array-key-evald-code-on-line/)
 *  Thread Starter [hereismine](https://wordpress.org/support/users/hereismine/)
 * (@hereismine)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-evald-code-on-line/#post-16727161)
 * I have tried your code and the warning is gone but why no data appears?

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