We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guy, when I try to update any field im my app, and the field "Organization" has values I receive this error:
Fatal error: Call to undefined method PodioItemField::api_friendly_values() My code: Podio::authenticate_with_app($appId,$auth); $id = intval($_POST["id"]); $item = PodioItem::get_by_app_item_id($appId, $id); $urlImagem = $result['ObjectURL'] ; $options=$item->fields[$field_id]->values; if(empty($options)) $item->fields[$field_id] = new PodioEmbedItemField($field_id); // Create embed $embed = PodioEmbed::create(array('url' => $urlImagem)); // Set using object $item->fields[$field_id]->values = $embed; // Set using associative array $item->fields[$field_id]->values = array('embed' => $embed->embed_id); $item->save();
Podio::authenticate_with_app($appId,$auth); $id = intval($_POST["id"]); $item = PodioItem::get_by_app_item_id($appId, $id); $urlImagem = $result['ObjectURL'] ; $options=$item->fields[$field_id]->values; if(empty($options)) $item->fields[$field_id] = new PodioEmbedItemField($field_id); // Create embed $embed = PodioEmbed::create(array('url' => $urlImagem)); // Set using object $item->fields[$field_id]->values = $embed; // Set using associative array $item->fields[$field_id]->values = array('embed' => $embed->embed_id); $item->save();
Response: {"status":"Internal Server Error","code":500,"text":"Fatal error: Call to undefined method PodioItemField::api_friendly_values()","level":0}
Could you check plz ?
The text was updated successfully, but these errors were encountered:
Hi @EnsinoEinstein this is possibly a duplicate - can you please check if #167 (comment) resolves this for you?
Sorry, something went wrong.
No branches or pull requests
Hi guy, when I try to update any field im my app, and the field "Organization" has values I receive this error:
Fatal error: Call to undefined method PodioItemField::api_friendly_values()
My code:
Podio::authenticate_with_app($appId,$auth); $id = intval($_POST["id"]); $item = PodioItem::get_by_app_item_id($appId, $id); $urlImagem = $result['ObjectURL'] ; $options=$item->fields[$field_id]->values; if(empty($options)) $item->fields[$field_id] = new PodioEmbedItemField($field_id); // Create embed $embed = PodioEmbed::create(array('url' => $urlImagem)); // Set using object $item->fields[$field_id]->values = $embed; // Set using associative array $item->fields[$field_id]->values = array('embed' => $embed->embed_id); $item->save();
Response:
{"status":"Internal Server Error","code":500,"text":"Fatal error: Call to undefined method PodioItemField::api_friendly_values()","level":0}
Could you check plz ?
The text was updated successfully, but these errors were encountered: