-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General error: 3065 Expression #1 of ORDER BY #77
Comments
Hi. What version of MySQL/MariaDB are you using? Try to change line 84 in WebsiteNotification.php to:
and line 87 in BroadcastNotification.php:
|
MySQL 5.7.19 By the way, great work on this project 👍 |
Great. Thanks. |
This was referenced Jun 4, 2021
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Guys,
I get the following error when logging a second user in.
I've traced it down to "->orderBy('created_at')" line 87 in WebsiteNotification.php
By removing it I can continue.
"SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'freescout.threads.created_at' which is not in SELECT list; this is incompatible with DISTINCT (SQL: select distinct
id
,conversation_id
,body
fromthreads
whereconversation_id
in (2) andtype
in (1, 2, 3) order bycreated_at
asc) (View: C:\laragon\www\FREESCOUT\freescout\resources\views\layouts\app.blade.php) (View: C:\laragon\www\FREESCOUT\freescout\resources\views\layouts\app.blade.php) ◀"The text was updated successfully, but these errors were encountered: