ZF2-212: Fatal error: Call to a member function setItem() on a non-object in Zend/Locale/Data/Cldr.php on line 1658


When cache is disabled in Cldr, it fails to get data.


Because in https://github.com/zendframework/zf2/… it gets cache and tries to setItem() without checking if cache is enabled.

This can be familiar with with ZF2-207. However I try to fetch territories I find a new bug.


Fixed in PR #917 (Commit 0d350bb)