“Sqlstate [42S02] lumen” Réponses codées

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]: table de base ou vue introuvable: 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

Table de base ou vue introuvable: 1146 Tableau

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

Réponses similaires à “Sqlstate [42S02] lumen”

Questions similaires à “Sqlstate [42S02] lumen”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code