In my opinion basic guitar theory is essential when starting out but just as important is getting comfortable with playing and and getting your fingers moving.
As far as theory goes when starting out, just learn the basics, ie what all the chords are called........so if you someone says play...