Looks like you are using some old school capability syntax:
( ! ) Notice: has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.