{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11909","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11909/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11909/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11909/events","html_url":"https://github.com/PrestaShop/PrestaShop/issues/11909","id":393694798,"node_id":"MDU6SXNzdWUzOTM2OTQ3OTg=","number":11909,"title":"Expected argument of type \"object, array or empty\", \"string\" given","user":{"login":"dritancami","id":2458824,"node_id":"MDQ6VXNlcjI0NTg4MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2458824?v=4","gravatar_id":"","url":"https://api.github.com/users/dritancami","html_url":"https://github.com/dritancami","followers_url":"https://api.github.com/users/dritancami/followers","following_url":"https://api.github.com/users/dritancami/following{/other_user}","gists_url":"https://api.github.com/users/dritancami/gists{/gist_id}","starred_url":"https://api.github.com/users/dritancami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dritancami/subscriptions","organizations_url":"https://api.github.com/users/dritancami/orgs","repos_url":"https://api.github.com/users/dritancami/repos","events_url":"https://api.github.com/users/dritancami/events{/privacy}","received_events_url":"https://api.github.com/users/dritancami/received_events","type":"User","site_admin":false},"labels":[{"id":1031994074,"node_id":"MDU6TGFiZWwxMDMxOTk0MDc0","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/1.7.5.0","name":"1.7.5.0","color":"8cffda","default":false},{"id":1018577805,"node_id":"MDU6TGFiZWwxMDE4NTc3ODA1","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Autoupgrade","name":"Autoupgrade","color":"f4e624","default":false},{"id":984877962,"node_id":"MDU6TGFiZWw5ODQ4Nzc5NjI=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/BO","name":"BO","color":"444444","default":false},{"id":19737369,"node_id":"MDU6TGFiZWwxOTczNzM2OQ==","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Bug","name":"Bug","color":"d4c5f9","default":false},{"id":1018075663,"node_id":"MDU6TGFiZWwxMDE4MDc1NjYz","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Invoices","name":"Invoices","color":"ce4a50","default":false},{"id":186105912,"node_id":"MDU6TGFiZWwxODYxMDU5MTI=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/waiting%20for%20author","name":"waiting for author","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"Quetzacoalt91","id":6768917,"node_id":"MDQ6VXNlcjY3Njg5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6768917?v=4","gravatar_id":"","url":"https://api.github.com/users/Quetzacoalt91","html_url":"https://github.com/Quetzacoalt91","followers_url":"https://api.github.com/users/Quetzacoalt91/followers","following_url":"https://api.github.com/users/Quetzacoalt91/following{/other_user}","gists_url":"https://api.github.com/users/Quetzacoalt91/gists{/gist_id}","starred_url":"https://api.github.com/users/Quetzacoalt91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quetzacoalt91/subscriptions","organizations_url":"https://api.github.com/users/Quetzacoalt91/orgs","repos_url":"https://api.github.com/users/Quetzacoalt91/repos","events_url":"https://api.github.com/users/Quetzacoalt91/events{/privacy}","received_events_url":"https://api.github.com/users/Quetzacoalt91/received_events","type":"User","site_admin":false},"assignees":[{"login":"Quetzacoalt91","id":6768917,"node_id":"MDQ6VXNlcjY3Njg5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6768917?v=4","gravatar_id":"","url":"https://api.github.com/users/Quetzacoalt91","html_url":"https://github.com/Quetzacoalt91","followers_url":"https://api.github.com/users/Quetzacoalt91/followers","following_url":"https://api.github.com/users/Quetzacoalt91/following{/other_user}","gists_url":"https://api.github.com/users/Quetzacoalt91/gists{/gist_id}","starred_url":"https://api.github.com/users/Quetzacoalt91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quetzacoalt91/subscriptions","organizations_url":"https://api.github.com/users/Quetzacoalt91/orgs","repos_url":"https://api.github.com/users/Quetzacoalt91/repos","events_url":"https://api.github.com/users/Quetzacoalt91/events{/privacy}","received_events_url":"https://api.github.com/users/Quetzacoalt91/received_events","type":"User","site_admin":false}],"milestone":null,"comments":82,"created_at":"2018-12-22T18:42:24Z","updated_at":"2018-12-28T19:37:08Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nError 500 when I click on the invoice item in the backend menu.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. in backend\r\n2. Click on invoice item menu: /index.php/sell/orders/invoices/\r\n\r\n**Screenshots**\r\nStack Trace:\r\nSymfony\\Component\\Form\\Exception\\UnexpectedTypeException:\r\nExpected argument of type \"object, array or empty\", \"string\" given\r\n\r\n  at vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:41\r\n  at Symfony\\Component\\Form\\Extension\\Core\\DataMapper\\PropertyPathMapper->mapDataToForms('', object(RecursiveIteratorIterator))\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379)\r\n  at Symfony\\Component\\Form\\Form->setData('')\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49)\r\n  at Symfony\\Component\\Form\\Extension\\Core\\DataMapper\\PropertyPathMapper->mapDataToForms(array('enable_invoices' => false, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('Fattura n. ec/', '#IN'), 'add_current_year' => false, 'reset_number_annually' => true, 'year_position' => 1, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('www.domain.com', ''), 'invoice_model' => 'invoice', 'use_disk_cache' => false), object(RecursiveIteratorIterator))\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379)\r\n  at Symfony\\Component\\Form\\Form->setData(array('enable_invoices' => false, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('Fattura n. ec/', '#IN'), 'add_current_year' => false, 'reset_number_annually' => true, 'year_position' => 1, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('www.domain.com', ''), 'invoice_model' => 'invoice', 'use_disk_cache' => false))\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49)\r\n  at Symfony\\Component\\Form\\Extension\\Core\\DataMapper\\PropertyPathMapper->mapDataToForms(array('invoice_options' => array('enable_invoices' => false, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('Fattura n. ec/', '#IN'), 'add_current_year' => false, 'reset_number_annually' => true, 'year_position' => 1, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('www.domain.com', ''), 'invoice_model' => 'invoice', 'use_disk_cache' => false)), object(RecursiveIteratorIterator))\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379)\r\n  at Symfony\\Component\\Form\\Form->setData(array('invoice_options' => array('enable_invoices' => false, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('Fattura n. ec/', '#IN'), 'add_current_year' => false, 'reset_number_annually' => true, 'year_position' => 1, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('www.domain.com', ''), 'invoice_model' => 'invoice', 'use_disk_cache' => false)))\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:483)\r\n  at Symfony\\Component\\Form\\Form->initialize()\r\n     (vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php:226)\r\n  at Symfony\\Component\\Form\\FormBuilder->getForm()\r\n     (src/Core/Form/FormHandler.php:114)\r\n  at PrestaShop\\PrestaShop\\Core\\Form\\FormHandler->getForm()\r\n     (src/PrestaShopBundle/Controller/Admin/Sell/Order/InvoicesController.php:57)\r\n  at PrestaShopBundle\\Controller\\Admin\\Sell\\Order\\InvoicesController->indexAction(object(Request))\r\n     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)\r\n  at Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(object(Request), 1)\r\n     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)\r\n  at Symfony\\Component\\HttpKernel\\HttpKernel->handle(object(Request), 1, false)\r\n     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)\r\n  at Symfony\\Component\\HttpKernel\\Kernel->handle(object(Request), 1, false)\r\n     (admin/index.php:88)\r\n\r\n![logs](https://user-images.githubusercontent.com/2458824/50377654-61711880-0621-11e9-85f0-846132510561.png)\r\n\r\n![exception 01](https://user-images.githubusercontent.com/2458824/50377656-68982680-0621-11e9-83d3-71fb20c4e6a3.png)\r\n\r\n![exception 02](https://user-images.githubusercontent.com/2458824/50377657-6d5cda80-0621-11e9-9c18-a8be14f2d98f.png)\r\n\r\n**Additionnal information**\r\nPrestashop 1.7.5\r\n![server](https://user-images.githubusercontent.com/2458824/50377667-abf29500-0621-11e9-9504-5106e06c5a1e.png)"},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/450415435","html_url":"https://github.com/PrestaShop/PrestaShop/issues/11909#issuecomment-450415435","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11909","id":450415435,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQxNTQzNQ==","user":{"login":"nuevoenesto","id":46094992,"node_id":"MDQ6VXNlcjQ2MDk0OTky","avatar_url":"https://avatars2.githubusercontent.com/u/46094992?v=4","gravatar_id":"","url":"https://api.github.com/users/nuevoenesto","html_url":"https://github.com/nuevoenesto","followers_url":"https://api.github.com/users/nuevoenesto/followers","following_url":"https://api.github.com/users/nuevoenesto/following{/other_user}","gists_url":"https://api.github.com/users/nuevoenesto/gists{/gist_id}","starred_url":"https://api.github.com/users/nuevoenesto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuevoenesto/subscriptions","organizations_url":"https://api.github.com/users/nuevoenesto/orgs","repos_url":"https://api.github.com/users/nuevoenesto/repos","events_url":"https://api.github.com/users/nuevoenesto/events{/privacy}","received_events_url":"https://api.github.com/users/nuevoenesto/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T19:37:08Z","updated_at":"2018-12-28T19:37:08Z","author_association":"NONE","body":"YES!!!!!!!\r\nMANY MANY THANKS!\r\nTHIS Run!\r\n\r\n@rdy4ever  have a good 2019 year!\r\n\r\n"}}
{"actor":{"display_login":"nuevoenesto"}}