{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/14068","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/14068/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/14068/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/14068/events","html_url":"https://github.com/magento/magento2/issues/14068","id":304635144,"number":14068,"title":"Error when locale is changed to fa_IR","user":{"login":"woshka","id":9154074,"avatar_url":"https://avatars1.githubusercontent.com/u/9154074?v=4","gravatar_id":"","url":"https://api.github.com/users/woshka","html_url":"https://github.com/woshka","followers_url":"https://api.github.com/users/woshka/followers","following_url":"https://api.github.com/users/woshka/following{/other_user}","gists_url":"https://api.github.com/users/woshka/gists{/gist_id}","starred_url":"https://api.github.com/users/woshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woshka/subscriptions","organizations_url":"https://api.github.com/users/woshka/orgs","repos_url":"https://api.github.com/users/woshka/repos","events_url":"https://api.github.com/users/woshka/events{/privacy}","received_events_url":"https://api.github.com/users/woshka/received_events","type":"User","site_admin":false},"labels":[{"id":688811200,"url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false},{"id":686420665,"url":"https://api.github.com/repos/magento/magento2/labels/G2%20Passed","name":"G2 Passed","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-03-13T05:44:05Z","updated_at":"2018-05-11T08:15:04Z","closed_at":null,"author_association":"NONE","body":"Error on Backend when the magento is converted to fa_IR Locale\r\nPlease fix this issue on 2.1.x since we have too many magento websites on themes designed for 2.1\r\nthere is a hotfix but I do not believe is the correct way in this url\r\n\r\nhttps://github.com/magento/magento2/issues/3541\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento 2.1.12\r\n2. Magento 2.1.3\r\n3. Centos 6.9\r\n4. Cpanel \r\n\r\nphp -v\r\nPHP 5.6.34 (cli) (built: Mar  9 2018 22:42:55)\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd.\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies\r\n    with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies\r\n    with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH\r\nhttpd -v\r\n\r\nServer version: Apache/2.2.34 (Unix)\r\nServer built:   Mar  9 2018 22:37:04\r\nCpanel::Easy::Apache v3.36.1 rev9999\r\n\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1. Change the Locale to fa_IR\r\n2. Clear all caches or set on development mode \r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1. login in to the admin page of magento \r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1.\r\n1 exception(s):\r\nException #0 (Exception): Recoverable Error: Argument 1 passed to iterator_to_array() must implement interface Traversable, null given, called in /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/AbstractBlock.php on line 659 and defined in /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/Html/Calendar.php on line 75\r\n\r\nException #0 (Exception): Recoverable Error: Argument 1 passed to iterator_to_array() must implement interface Traversable, null given, called in /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/AbstractBlock.php on line 659 and defined in /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/Html/Calendar.php on line 75\r\n#0 [internal function]: Magento\\Framework\\App\\ErrorHandler->handler(4096, 'Argument 1 pass...', '/home/magento2f...', 75, Array)\r\n#1 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/Html/Calendar.php(75): iterator_to_array(NULL)\r\n#2 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\\Framework\\View\\Element\\Html\\Calendar->_toHtml()\r\n#3 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(542): Magento\\Framework\\View\\Element\\AbstractBlock->toHtml()\r\n#4 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(518): Magento\\Framework\\View\\Layout->_renderBlock('head.calendar')\r\n#5 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\\Framework\\View\\Layout->renderNonCachedElement('head.calendar')\r\n#6 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(472): Magento\\Framework\\View\\Layout\\Interceptor->renderNonCachedElement('head.calendar')\r\n#7 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\\Framework\\View\\Layout->renderElement('head.calendar', true)\r\n#8 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(569): Magento\\Framework\\View\\Layout\\Interceptor->renderElement('head.calendar')\r\n#9 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(520): Magento\\Framework\\View\\Layout->_renderContainer('after.body.star...')\r\n#10 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\\Framework\\View\\Layout->renderNonCachedElement('after.body.star...')\r\n#11 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(472): Magento\\Framework\\View\\Layout\\Interceptor->renderNonCachedElement('after.body.star...')\r\n#12 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\\Framework\\View\\Layout->renderElement('after.body.star...', true)\r\n#13 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(569): Magento\\Framework\\View\\Layout\\Interceptor->renderElement('after.body.star...')\r\n#14 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(520): Magento\\Framework\\View\\Layout->_renderContainer('root')\r\n#15 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\\Framework\\View\\Layout->renderNonCachedElement('root')\r\n#16 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(472): Magento\\Framework\\View\\Layout\\Interceptor->renderNonCachedElement('root')\r\n#17 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\\Framework\\View\\Layout->renderElement('root', true)\r\n#18 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Layout.php(938): Magento\\Framework\\View\\Layout\\Interceptor->renderElement('root')\r\n#19 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\\Framework\\View\\Layout->getOutput()\r\n#20 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Result/Page.php(243): Magento\\Framework\\View\\Layout\\Interceptor->getOutput()\r\n#21 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/View/Result/Layout.php(164): Magento\\Framework\\View\\Result\\Page->render(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\r\n#22 /home/magento2farsi/demo2.magento2farsi.com/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\\Framework\\View\\Result\\Layout->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\r\n#23 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/App/Http.php(139): Magento\\Backend\\Model\\View\\Result\\Page\\Interceptor->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\r\n#24 /home/magento2farsi/demo2.magento2farsi.com/vendor/magento/framework/App/Bootstrap.php(258): Magento\\Framework\\App\\Http->launch()\r\n#25 /home/magento2farsi/demo2.magento2farsi.com/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http))\r\n#26 {main}\r\n\r\n<!--- (This may be platform independent comment) -->\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/388294668","html_url":"https://github.com/magento/magento2/issues/14068#issuecomment-388294668","issue_url":"https://api.github.com/repos/magento/magento2/issues/14068","id":388294668,"user":{"login":"woshka","id":9154074,"avatar_url":"https://avatars1.githubusercontent.com/u/9154074?v=4","gravatar_id":"","url":"https://api.github.com/users/woshka","html_url":"https://github.com/woshka","followers_url":"https://api.github.com/users/woshka/followers","following_url":"https://api.github.com/users/woshka/following{/other_user}","gists_url":"https://api.github.com/users/woshka/gists{/gist_id}","starred_url":"https://api.github.com/users/woshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woshka/subscriptions","organizations_url":"https://api.github.com/users/woshka/orgs","repos_url":"https://api.github.com/users/woshka/repos","events_url":"https://api.github.com/users/woshka/events{/privacy}","received_events_url":"https://api.github.com/users/woshka/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T08:15:04Z","updated_at":"2018-05-11T08:15:04Z","author_association":"NONE","body":"@magento-admin @magento-engcom-team @dimonovp \r\nPlease Take a look at this issue and let me know how to fix it\r\nthe fa_IR xml file seems to be not complete but I completed with the shamsi information but still I have the issue\r\nI uploaded those files for you to help you to fix this issue\r\n[zendframework1.zip](https://github.com/magento/magento2/files/1994486/zendframework1.zip)\r\n"}}
{"actor":{"display_login":"woshka"}}