Title: Issues with get command in PHP7
Last modified: March 3, 2019

---

# Issues with get command in PHP7

 *  [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/issues-with-get-command-in-php7/)
 * I noticed this when I had debugging set to true. I’m using this command to display
   my ULike icons in my various templates:
 * `<?php wp_ulike(‘get’); ?>`
 * Simple code, but it throwing an error. Not a fatal one, but a warning to basically
   change it. The error is as follows:
 * > Warning: Use of undefined constant ‘get’ – assumed ‘‘get’’ (this will throw
   > an Error in a future version of PHP) in /home/myserver/public_html/wp-content/
   > themes/my-theme/page.php on line 37
 * And of course, it’s the code above.
 * So is there some kind of alternative to ‘get’ to do the same thing? If not, is
   something in the works?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissues-with-get-command-in-php7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Issues with get command in PHP7’ is closed to new replies.

 * ![](https://ps.w.org/wp-ulike/assets/icon.svg?rev=2453069)
 * [WP ULike – Like & Dislike Buttons for Engagement and Feedback](https://wordpress.org/plugins/wp-ulike/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ulike/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ulike/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ulike/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ulike/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ulike/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [databell96](https://wordpress.org/support/users/databell96/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/issues-with-get-command-in-php7/)
 * Status: not resolved