RuntimeException

HTTP 500 Whoops, looks like something went wrong.

Telegram API error. Description: Too Many Requests: retry after 26

Exception

RuntimeException

  1.             throw new RuntimeException('Telegram API error. Description: No response');
  2.         }
  3.         $result json_decode($resulttrue);
  4.         if ($result['ok'] === false) {
  5.             throw new RuntimeException('Telegram API error. Description: ' $result['description']);
  6.         }
  7.     }
  8.     /**
  9.      * Handle a message that is too long: truncates or splits into several
  1.         foreach ($messages as $key => $msg) {
  2.             if ($this->delayBetweenMessages && $key 0) {
  3.                 sleep(1);
  4.             }
  5.             $this->sendCurl($msg);
  6.         }
  7.     }
  8.     protected function sendCurl(string $message): void
  9.     {
  1.         $key $this->keyGenerate($record);
  2.         if (false === $this->keyExist($key)) {
  3.             $this->firedMessages[$key] = $record;
  4.             Cache::add($key$record120);
  5.             $this->send($record['formatted']);
  6.         }
  7.     }
  8.     private function keyExist(string $key): bool
  9.     {
  1.             $record $this->processRecord($record);
  2.         }
  3.         $record['formatted'] = $this->getFormatter()->format($record);
  4.         $this->write($record);
  5.         return false === $this->bubble;
  6.     }
  7.     /**
  1.                     }
  2.                 }
  3.                 // once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
  4.                 try {
  5.                     if (true === $handler->handle($record)) {
  6.                         break;
  7.                     }
  8.                 } catch (Throwable $e) {
  9.                     $this->handleException($e$record);
  1.      * @param string|Stringable $message The log message
  2.      * @param mixed[]           $context The log context
  3.      */
  4.     public function alert($message, array $context = []): void
  5.     {
  6.         $this->addRecord(static::ALERT, (string) $message$context);
  7.     }
  8.     /**
  9.      * Adds a log record at the EMERGENCY level.
  10.      *
  1.      * @param array $parameters
  2.      * @return mixed
  3.      */
  4.     public function __call(string $method$parameters)
  5.     {
  6.         return $this->driver()->$method(...$parameters);
  7.     }
  8.     /**
  9.      * Create a new, on-demand aggregate logger instance.
  10.      */
  1.     public static function __callStatic($method$args)
  2.     {
  3.         if (!isset(self::$instance)) {
  4.             self::$instance= new LogManager();
  5.         }
  6.         return self::$instance->$method(...$args);
  7.     }
  8. }
  1.     if ($end 2) {
  2.         Log::alert('Mysql Time query', [
  3.             'query' => tep_db_input($query),
  4.             'time' => $end,
  5.             'SCRIPT_FILENAME' => $_SERVER["SCRIPT_FILENAME"],
  6.         ]);
  7.     }
  8.     $query_total_time += $end;
  1.     $manufactures_info = array();
  2.     while ($manufactures tep_db_fetch_array($manufactures_info_query)) {
  3.       array_push($manufactures_info$manufactures);
  4.     }
  5.     
  6.     tep_db_query("update " TABLE_PRODUCTS_DESCRIPTION " set products_viewed = products_viewed+1 where products_id = '" . (int)$_GET['products_id'] . "' and language_id = '" . (int)$languages_id "'");
  7.       $product_info['products_price'] = tep_xppp_getproductprice($product_info['products_id']);
  8.     if ($new_price tep_get_products_special_price($product_info['products_id'])) {
  9.       $query_special_prices_hide_result SPECIAL_PRICES_HIDE

Stack Trace

RuntimeException
RuntimeException:
Telegram API error. Description: Too Many Requests: retry after 26

  at /home/solomono/web/solomono.net/vendor/monolog/monolog/src/Monolog/Handler/TelegramBotHandler.php:256
  at Monolog\Handler\TelegramBotHandler->sendCurl()
     (/home/solomono/web/solomono.net/vendor/monolog/monolog/src/Monolog/Handler/TelegramBotHandler.php:230)
  at Monolog\Handler\TelegramBotHandler->send()
     (/home/solomono/web/solomono.net/app/Classes/Logger/Handler/TelegramHandler.php:19)
  at App\Classes\Logger\Handler\TelegramHandler->write()
     (/home/solomono/web/solomono.net/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48)
  at Monolog\Handler\AbstractProcessingHandler->handle()
     (/home/solomono/web/solomono.net/vendor/monolog/monolog/src/Monolog/Logger.php:399)
  at Monolog\Logger->addRecord()
     (/home/solomono/web/solomono.net/vendor/monolog/monolog/src/Monolog/Logger.php:676)
  at Monolog\Logger->alert()
     (/home/solomono/web/solomono.net/app/Classes/Logger/LogManager.php:92)
  at App\Classes\Logger\LogManager->__call()
     (/home/solomono/web/solomono.net/app/Classes/Logger/Log.php:17)
  at App\Classes\Logger\Log::__callStatic()
     (/home/solomono/web/solomono.net/includes/functions/database.php:93)
  at tep_db_query()
     (/home/solomono/web/solomono.net/product_info.php:39)