{"id":18104526,"date":"2024-10-30T10:04:00","date_gmt":"2024-10-30T10:04:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/typeerror-json_decode\/"},"modified":"2024-10-30T10:04:00","modified_gmt":"2024-10-30T10:04:00","slug":"typeerror-json_decode","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/typeerror-json_decode\/","title":{"rendered":"TypeError: json_decode()"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Salut,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La emiterea facturilor din panoul de control pentru c\u00e2teva comenzi, apare aceast\u0103 eroare. Pute\u021bi rezolva, v\u0103 rog?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>TypeError: json_decode(): Argument #1 ($json) must be of type string, array given (\/wp-content\/plugins\/smartbill-facturare-si-gestiune\/includes\/class-smartbill-cloud-rest-client.php:287) json_decode(\/wp-content\/plugins\/smartbill-facturare-si-gestiune\/includes\/class-smartbill-cloud-rest-client.php:287) SmartBill_Cloud_REST_Client::call_server(\/wp-content\/plugins\/smartbill-facturare-si-gestiune\/includes\/class-smartbill-cloud-rest-client.php:407) SmartBill_Cloud_REST_Client::create_invoice_with_document_address(\/wp-content\/plugins\/smartbill-facturare-si-gestiune\/includes\/woocommerce-functions.php:593) smartbill_create_document(\/wp-content\/plugins\/smartbill-facturare-si-gestiune\/includes\/woocommerce-functions.php:167) smartbill_woocommerce_issue_document(\/wp-includes\/class-wp-hook.php:324) WP_Hook::apply_filters(\/wp-includes\/class-wp-hook.php:348) WP_Hook::do_action(\/wp-includes\/plugin.php:517) do_action(\/wp-admin\/admin-ajax.php:192)<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP 8.1.30<br \/>WordPress 6.6.2<br \/>SmartBill 3.3.2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mul\u021bumesc,<br \/>Vlad<\/p>\n","protected":false},"template":"","class_list":["post-18104526","topic","type-topic","status-publish","hentry","topic-tag-array","topic-tag-json_decode","topic-tag-string","topic-tag-typeerror"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18104526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18104526\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18104526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}