Comments (9)
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.
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.
can i fix it
from ecommerce-laravel-bootstrap.
@dassudip2001
you are welcome to make a pull request with the fix
from ecommerce-laravel-bootstrap.
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.
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.
@Engbilal
in which page you are getting this error? i can not reproduce it
from ecommerce-laravel-bootstrap.
@kirilkirkov ok
from ecommerce-laravel-bootstrap.
@Engbilal
if you need further assistance i am available
from ecommerce-laravel-bootstrap.
Related Issues (10)
- lara_cms.sql is incomplete HOT 1
- getting db error while running your code project HOT 2
- db issue HOT 1
- your code does not work HOT 4
- Found a Vulnerability in the code HOT 8
- Image carousel on public and admin Error (not showing) HOT 1
- suggestions HOT 1
- Call to undefined function lang_url()
- Images are not showing at frontend HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecommerce-laravel-bootstrap.