Code Monkey home page Code Monkey logo

Comments (9)

Engbilal avatar Engbilal commented on September 28, 2024

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags' in 'field list' (SQL: insert into products (image, folder, category_id, quantity, order_position, link_to, tags, hidden, url) values (images/lgMVdzyK22dMzC7DagJIDCOrGkVhtH49NMFG9iHK.png, 1686384732, 2, 21, 12, HTTPS://WWW.COM, 2, 1, aSADASDASD-2))

from ecommerce-laravel-bootstrap.

Engbilal avatar Engbilal commented on September 28, 2024

after adding column in the database. i got the error

SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'tags' in where clause is ambiguous (SQL: select products.*, products_translations.name, products_translations.description, products_translations.price from products inner join products_translations on products_translations.for_id = products.id where tags LIKE %promo% and hidden = 0 and locale = en limit 8)

from ecommerce-laravel-bootstrap.

dassudip2001 avatar dassudip2001 commented on September 28, 2024

can i fix it

from ecommerce-laravel-bootstrap.

kirilkirkov avatar kirilkirkov commented on September 28, 2024

@dassudip2001
you are welcome to make a pull request with the fix

from ecommerce-laravel-bootstrap.

dassudip2001 avatar dassudip2001 commented on September 28, 2024

Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.

some packages are abandoned and can you check it ??

my PHP version 8.2

also

Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump

problem

from ecommerce-laravel-bootstrap.

kirilkirkov avatar kirilkirkov commented on September 28, 2024

@Engbilal
@dassudip2001

Into the 2022_11_07_075654_create_products_table.php file , the tags column is present so i am not sure why you do not have it.
I have tested everything and it works. Please run your migrations from "zero" and try again, the tags field present into the migrations so it working.

With version [email protected] is working ok.

from ecommerce-laravel-bootstrap.

kirilkirkov avatar kirilkirkov commented on September 28, 2024

@Engbilal
in which page you are getting this error? i can not reproduce it

from ecommerce-laravel-bootstrap.

dassudip2001 avatar dassudip2001 commented on September 28, 2024

@kirilkirkov ok

from ecommerce-laravel-bootstrap.

kirilkirkov avatar kirilkirkov commented on September 28, 2024

@Engbilal
if you need further assistance i am available

from ecommerce-laravel-bootstrap.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.