Reviewer says there is PHP error [WordPress]

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

Thanks.

Hi

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!

Thanks

1 Like

Thank you bro. <3