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 to see the link]
The topic ‘Issues with get command in PHP7’ is closed to new replies.