Closed halenharper closed 9 years ago
Tell more about the situation when an error occurs
my Controller:
<?php namespace App\Http\Controllers\Admin_new_spares;
use \TelegramBot\Api\BotApi as TG;
class NewSparesController extends Controller {
public function update()
{
$telegram_noty = new TG(env('TELEGRAM_BOT_TOKEN'));
$telegram_noty->sendMessage('user_id', 'message_text');
return redirect()->route('admin_new_spares.new_spares.index');
}
}
Message was send, but after I see Error. If i comment line 46 in BaseType.php - NO ERROR
Do you use the latest version?
Oh, I am sorry. My bad. I used v.1.0. After update to v2.2.1 - all OK! Thank you.
Hi, I am using Laravel 5 for my app. Message successfully send, but after send I see error: ErrorException in BaseType.php line 46: Undefined index: last_name