Warning message (re. php) on the blog page

I've got a message below (the part "xyz/blog-name.com" was changed). That error message is not because of a Plug-in, as the message doesn't disappear even I stop all Plug-ins.

"Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/xyz/blog-name.com/public_html/wp-content/themes/stingerplus-child/st-footer-content.php on line 20"

The line 20 in my wp currently reads as fallows;

a href="?php//echo esc_url( home_url( '/' ) ); ?"?php// bloginfo( 'description' ); ?/a

Can anyone please advise me what is wrong here...? Thanks

Topic warnings php Wordpress

Category Web


<a href="<?php//echo esc_url( home_url( '/' ) ); ?>"><?php// bloginfo( 'description' ); ?></a>

The <?php// is the problem. PHP blocks are started with <?php but the code uses <?php//. Instead, change it to <?php //, or better yet, since // is meant to comment an entire line out, use /* */ style commenting instead

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.