Resolve PHP notice