Такая вот ошибка
PHP Notice: Trying to get property of non-object in /home4/qsthndpt/public_html/result.php on line 108
line 108 это
if (ctype_digit($order->order)) {
Что не так, подскажите пожалуйста
//...Instagram...//
$findme = 'Instagram';
$pos = strpos($proder->service, $findme);
if ($pos !== false) {
$api = new Api();
//Instagram
$order = $api->order(array('service' => 487, 'link' => $proder->link_task, 'quantity' => $proder->count_b));
if (ctype_digit($order->order)) {
$update = R::load('task', $proder->id);
$update->status = 'Added Bot';
R::store($update);
} else {
$update = R::load('task', $proder->id);
$update->status = 'Fail Added Bot';
R::store($update);
}
}