“SQLSTATE [42S02] Lumen” Código de respuesta

SQLSTATE [42S02] Lumen

You need to define the table name in model as shown below.
class User extends Model
{
    //
    public $table = "products";
}
Ankur

Sqlstate [42S02]: tabla base o vista no encontrada: 1146 TAB

It seems Laravel is trying to use category_posts table (because of many-to-many relationship). But you don't have this table, because you've created category_post table. Change name of the table to category_posts.
Famous Frog

Tabla base o vista no encontrada: 1146 tabla

class Cotizacion extends Model{
    public $table = "cotizacion";
Comfortable Crane

Respuestas similares a “SQLSTATE [42S02] Lumen”

Preguntas similares a “SQLSTATE [42S02] Lumen”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código