WordPress WordPress Theme Development Finishing Your WordPress Theme Testing Your WordPress Theme

Josh Miclette
PRO
Josh Miclette
Pro Student 6,227 Points

Theme Check plugin is throwing php errors above the 'Theme Info' section when I click 'Check it!'

Hey Community - I am unable to figure this out.

When I select another theme, for instance, Twenty Fifteen and click the 'check it' button - there are no resulting php errors. It works the way it should. I've tested several other themes and it works just fine. But for some reason when I check my theme, I get php errors.

WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments 'Sorry, no pages found.'

Thanks, Josh

Josh Miclette
Josh Miclette
Pro Student 6,227 Points

I fixed the error once I added the text-domain as shown in the video. I hope this may help someone else.