Reviewer says there is PHP error [WordPress]

Hi guys. Reviewer says there is PHP error in my new theme :
But this isn’t my theme’s error. None of the variables in the image isn’t my theme’s.
What should I do?



I think it is something about your comments. you need to check for have_comments() first, before using any of the comment-template functions such as get_comment_author() , otherwise they try to call methods on a null comment object, producing PHP warnings.
check something like this in your coding!


1 Like

Thank you bro. <3