- 18 Jan 2022, 13:27
#90194
Boa tarde!
Caros, estou com um problema com uma tabela do opencart 3x, o que ocorre é que toda vez que finalizo um pedido ou se for em Configurações -> Avancado -> webhook
Da o erro solicitando essa tabela, porem em todas as lojas que tenho ativa, não existe essa tabela.
Exception: Erro: Table 'pkibi_pkib.oc_webhook_client' doesn't exist
Código: 1146
SELECT * FROM `oc_webhook_client` wc ORDER BY wc.description ASC LIMIT 0,10 no arquivo /home1/pkibi_/public_html/loja/system/library/db/mysqli.php na linha 47
Codigo:
if (!$this->connection->errno) {
if ($query instanceof \mysqli_result) {
$data = array();
while ($row = $query->fetch_assoc()) {
$data[] = $row;
}
$result = new \stdClass();
$result->num_rows = $query->num_rows;
$result->row = isset($data[0]) ? $data[0] : array();
$result->rows = $data;
$query->close();
unset($data);
}
} else {
throw new \Exception('Erro: ' . $this->connection->error . '<br>Código: ' . $this->connection->errno . '<br>' . $sql); // LIMNHA 47
}
if (!isset($result)) {
$result = new \stdClass();
$result->num_rows = 0;
$result->row = array();
$result->rows = array();
}
return $result;
}
Caros, estou com um problema com uma tabela do opencart 3x, o que ocorre é que toda vez que finalizo um pedido ou se for em Configurações -> Avancado -> webhook
Da o erro solicitando essa tabela, porem em todas as lojas que tenho ativa, não existe essa tabela.
Exception: Erro: Table 'pkibi_pkib.oc_webhook_client' doesn't exist
Código: 1146
SELECT * FROM `oc_webhook_client` wc ORDER BY wc.description ASC LIMIT 0,10 no arquivo /home1/pkibi_/public_html/loja/system/library/db/mysqli.php na linha 47
Codigo:
if (!$this->connection->errno) {
if ($query instanceof \mysqli_result) {
$data = array();
while ($row = $query->fetch_assoc()) {
$data[] = $row;
}
$result = new \stdClass();
$result->num_rows = $query->num_rows;
$result->row = isset($data[0]) ? $data[0] : array();
$result->rows = $data;
$query->close();
unset($data);
}
} else {
throw new \Exception('Erro: ' . $this->connection->error . '<br>Código: ' . $this->connection->errno . '<br>' . $sql); // LIMNHA 47
}
if (!isset($result)) {
$result = new \stdClass();
$result->num_rows = 0;
$result->row = array();
$result->rows = array();
}
return $result;
}