• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

How to error MySQL Error : Unknown column '0Array' in 'where clause' Error Number : 1054

Admin

Well-Known Member
Staff member
Administrator
Today tuoitreit.vn will teach you how to fix error MySQL Error : Unknown column '0Array' in 'where clause' Error Number : 1054

Code:
Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0Array) ORDER BY post_thanks.username ASC;

MySQL Error : Unknown column '0Array' in 'where clause'
Error Number : 1054

Please do so
Open includes/functions_post_thanks.php
Find
PHP:
$post_ids = "0$postids";
Change to
PHP:
$post_ids = is_array($postids) ? implode(',',$postids) : "0$postids";

Good luck!
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin How to fix MySQL query error [1062]: Duplicate entry '***' for key 'expiry_date' xenforo 2 Xenforo 0
Admin How to fix XF\Db\Exception: MySQL query error [1932]: Table 'xf_phrase_map' doesn't exist Xenforo 0
Admin Hướng dẫn sửa lỗi Invalid SQL: ALTER TABLE user DROP topxtab; MySQL Error : Can't DROP 'topxtab'; check that c Vbb tutorial 2
Admin Hướng dẫn fix lỗi MySQL Error : Table '***.cms_ permissions' doesn't exist Error Number : 1146 trong forumrunn Vbb tutorial 0
Admin Hướng dẫn fix lỗi MySQL Error : Unknown column 'vbcmspermissions' in 'field list' Error Number : 1054 Vbb tutorial 0
Admin Hướng dẫn fix lỗi Communication Error cho máy in Canon LBP 2900, Canon LBP 3300 Windows 11 mới nhất - Fix Communication Error Canon 2900, Canon 3300 Windows 11 Sử dụng, chia sẻ, hỏi đáp 0
Admin Fix the "Access denied. You do not have enough rights to use this virtual machine" error message MacOS Sử dụng, chia sẻ, hỏi đáp 0
C Wordpress Auto Install by ErrOr SquaD Tut, tool, mmo 0
Admin Fix ErrorException: Template error: Illegal string offset 'width' with SEO 2 Xenforo 2 Xenforo 0
SuperTroll XtGem Error Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
Admin Hướng dẫn sửa lỗi Error with system Quotas trên DirectAdmin VPS & Dedicated Server 0
T Help lỗi Error: table "cms_ban_ip" của johncms Johncms 2
Admin HTTP Error Response Codes by BOP5 (Help reduce "soft 404" errors for improved SEO) Add-ons 0
Admin Hướng dẫn sửa lỗi error uploading image vbb5 Vbb tutorial 0
Admin Hướng dẫn sửa lỗi Fatal error: The requested language does not exist Vbb tutorial 0
Admin Link private forums on homepage to thread instead of error message Add-ons 0
Admin Hướng dẫn fix lỗi an unexpected error occurred. Please try again later Xenforo 0
Admin 403 forbidden and cant read /etc/named.conf error bypass Tut, tool, mmo 2
N Share Share Code Error 404 All Shared Scripts 0
M Help Code TTVN AdminCP error Vbb released 4
Admin 404 error page template - giao diện trang thông báo lỗi 404 HTML & CSS 0
Admin [Wordpress] Fix lỗi Fatal error: Allowed memory size of 33554432 bytes exhausted Wordpress 0
Admin vB4 Error Pages Add-ons 0
congtust24 Chi tiết và ý nghĩa tất cả các lỗi http (Show All HTTP Error Status Codes) Kiến thức lập trình 1
Admin Hướng dẫn fix lỗi XML Parsing Error: not well-formed for JohnCMS 4.4.x Johncms 0
Admin Rap = Error Win [sợ chưa] Âm nhạc 2
Admin Hướng dẫn fix lỗi Upgrading to 4.x.x Upgrading to vbblog An error has occurred. Please contact vBull Vbulletin 0
Admin Hướng dẫn cài IIS, PHP, MySQL trên Windows Server 2012 R2 chi tiết 2020 VPS & Dedicated Server 0
blog4me Crack KSWEB: server + PHP + MySQL v3.961 [Pro] Crack, hack, mod, ghép game, ứng dụng 0
khanhsak3r Hỏi Sửa lỗi can't create windows service for mysql như thế nào?! Sử dụng, chia sẻ, hỏi đáp 3
Admin Hướng dẫn cài đặt Linux, nginx, MySQL, PHP (LEMP) trên Raspberry Pi chi tiết VPS & Dedicated Server 0
Admin Hướng dẫn cài IIS, PHP, MySQL trên Windows Server 2012 R2 chi tiết VPS & Dedicated Server 14
Admin Hướng dẫn cài đặt Linux, Apache, MySQL, PHP (LAMP) trên Ubuntu 14.04 chi tiết VPS & Dedicated Server 0
Admin Hướng dẫn cài đặt Linux, nginx, MySQL, PHP (LEMP) trên CentOS 7.0 chi tiết VPS & Dedicated Server 1
Admin Hướng dẫn cài đặt Linux, nginx, MySQL, PHP (LEMP) trên Ubuntu 14.04 chi tiết VPS & Dedicated Server 0
Admin Hướng dẫn cài đặt tự động Nginx, PHP-FPM, MySQL và phpMyAdmin trên CentOS đơn giản VPS & Dedicated Server 1
Admin Share code lpanel 2.1 quản lí tập tin và MySQL thuận tiện Mã nguồn wap 0
Smobi Hướng dẫn Mysql explain and indexing strategies PHP 0
O Tuyển Lập Trình PHP & MySQL PHP 0
Admin Tạo webserver cho android hỗ trợ php, mysql và phpmyadmin Android, iOS 4
L Share Những lỗi cơ bản thường gặp với PHP và MySQL PHP 1
Admin Hướng dẫn cài đặt Apache2 với PHP5 và hỗ trợ MySQL trên Ubuntu 11.10 VPS & Dedicated Server 0
Admin Hướng dẫn tạo trang web từ Google App Engine hỗ trợ PHP và MySQL Hosting / Domain 0
Admin Tài liệu tự học html, css, javascript, php&mysql, asp tiếng việt fix link Kiến thức lập trình 0
Admin Share database địa giới hành chính Việt Nam chi tiết tới cấp xã/phường/thị trấn [MySQL, Access, Exce Sách, truyện, tài liệu 0
D Share Sao lưu dữ liệu bằng PHP -Backup MySQL Database Using PHP All Shared Scripts 0
Admin PHP và MySQL + izCMS PHP 0
Admin Hướng dẫn tối ưu hóa xenforo phần 2 - Phân mảnh trong MySQL và cách sửa chữa Xenforo 0
Admin Hướng dẫn tối ưu hóa xenforo phần 1 với database - MySQL Optimization Xenforo 0
Admin Winginx dễ dàng cài đặt Nginx - PHP - MySQL trên windows VPS & Dedicated Server 0

Similar threads

New posts New threads New resources

Back
Top