Update Config.php

referenced offsetGet function was causing issues in some php instalations