digikraaft / laravel-review-rating Goto Github PK
View Code? Open in Web Editor NEWReview and Rating System for Laravel
License: MIT License
Review and Rating System for Laravel
License: MIT License
´´´
SQLSTATE[42000]: Syntax error or access violation: 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause (SQL: select ROUND(AVG(rating), 1) AS averageRating from reviews
where reviews
.model_id
= 2 and reviews
.model_id
is not null and reviews
.model_type
= App\Models\Resource order by id
desc)
´´´
PHP 8.0.12
Laravel 8.78.1
Are we gonna se support for laravel 10 with this package anytime soon?
I installed the "laravel-review-rating" package correctly, but I have a problem when using the review() method in my controller I get this error: "Use $this when it is not in the context of the object", after tracing the error I found result of this line numbered 37 from the HasReviewRating attribute, "return $this->createReview($review, $author, $rating, $title);",
Please can anyone help me?
Hi!
How to query Posts by average rating?
ie. Show Posts where average rating is 3 or more?
Thanks!
Please update it to be compatible with php 8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.