Fix notices in the code.
Since we're not using og access we don't need it in the cache settings.
Merge pull request #3024 from openscholar/3023

Fix notices in the code.