What am i doing wrong?
My array:
Array ( [item_id] => 2099844509 [title] => Asger [link] => https://podio.com/exzentriqdk/api/apps/testapp/items/4 [rights] => Array ( [0] => view [1] => add_file [2] => update [3] => comment [4] => rate [5] => add_task [6] => add_conversation [7] => subscribe ) [created_on] => 2022-05-17 07:24:17 [app_item_id_formatted] => 4 [app_item_id] => 4 [ratings] => Array ( [like] => Array ( [average] => [counts] => Array ( [1] => Array ( [total] => 0 [users] => Array ( ) ) ) ) ) [last_event_on] => 2022-05-17 07:24:17 [created_by] => Array ( [type] => user [id] => 11562815 [avatar_type] => file [avatar_id] => 1483355622 [image] => Array ( [hosted_by] => podio [hosted_by_humanized_name] => Podio [thumbnail_link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [file_id] => 1483355622 [external_file_id] => [link_target] => _blank ) [name] => Lars Nobel [url] => https://podio.com/users/11562815 [avatar] => 1483355622 ) [created_via] => Array ( [id] => 1 [auth_client_id] => 1 [name] => Podio [display] => ) [initial_revision] => Array ( [created_on] => 2022-05-17 07:24:17 [created_by] => Array ( [type] => user [id] => 11562815 [avatar_type] => file [avatar_id] => 1483355622 [image] => Array ( [hosted_by] => podio [hosted_by_humanized_name] => Podio [thumbnail_link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [file_id] => 1483355622 [external_file_id] => [link_target] => _blank ) [name] => Lars Nobel [url] => https://podio.com/users/11562815 [avatar] => 1483355622 ) [created_via] => Array ( [id] => 1 [auth_client_id] => 1 [name] => Podio [display] => ) ) [current_revision] => Array ( [created_on] => 2022-05-17 07:24:17 [created_by] => Array ( [type] => user [id] => 11562815 [avatar_type] => file [avatar_id] => 1483355622 [image] => Array ( [hosted_by] => podio [hosted_by_humanized_name] => Podio [thumbnail_link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [link] => https://d2cmuesa4snpwn.cloudfront.net/public/1483355622 [file_id] => 1483355622 [external_file_id] => [link_target] => _blank ) [name] => Lars Nobel [url] => https://podio.com/users/11562815 [avatar] => 1483355622 ) [created_via] => Array ( [id] => 1 [auth_client_id] => 1 [name] => Podio [display] => ) ) [fields] => Array ( [titel] => Asger [email] => Array ( [0] => Array ( [type] => work [value] => enmail@hejsa.com ) ) [profilbillede] => Array ( [0] => 1493494868 ) [valgfag] => Array ( [0] => 1 ) ) )
My code:
}
Why is the value of "titel" not getting printed.??
My error:
Notice: Trying to get property 'titel' of non-object in C:\xampp\htdocs\podio-test-api\app.php on line 28
Please sign in to leave a comment.
Comments
0 comments