what causes acc/err display followed by dead batteery? on 2006 Subaru Outback

Err is displayed when driver door is closed. Acc is displayed when driver door is open. Battery fully drains after about two weeks. What is the fix? Just bought the wagon and can't live with the unreliability

Asked by for the 2006 Subaru Outback
You have a current draw draining battery. Like leaving headlights on when park car. Need to take to shop and have them locate the circuit causing draw and fix.
1 more answer
I have the exact same thing. 2006 outback. Nothing on inside (lights) causing the power drain.