Undefined offset in framework, undefined var in open-graph.php

A couple more small notice fixes.