Time : 07:44:18 PM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ss2.minutes' in 'field list' Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, sl.spoolDescription, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN ( SELECT ss.stageId, ss.spoolId, ss.locationId, ss.stageTypeId, ss.userId, ss.teamCount, ss.processId, ss2.minutes FROM spool_stages as ss #https://stackoverflow.com/a/10999689 group by show last row instead of first JOIN (SELECT spoolId, MAX(stageId) stageId FROM spool_stages GROUP BY spoolId) ss2 ON ss.stageId = ss2.stageId AND ss.spoolId = ss2.spoolId GROUP BY ss.spoolId ) as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId #WHERE DATE(ss.created_at) = '2020-01-18' WHERE ss.stageTypeId IN (1,2) AND s.deleted=0 AND o.deleted=0 AND sl.deleted=0 AND p.deleted=0 GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 07:43:45 PM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ss2.minutes' in 'field list' Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, sl.spoolDescription, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN ( SELECT ss.stageId, ss.spoolId, ss.locationId, ss.stageTypeId, ss.userId, ss.teamCount, ss.processId, ss2.minutes FROM spool_stages as ss #https://stackoverflow.com/a/10999689 group by show last row instead of first JOIN (SELECT spoolId, MAX(stageId) stageId FROM spool_stages GROUP BY spoolId) ss2 ON ss.stageId = ss2.stageId AND ss.spoolId = ss2.spoolId GROUP BY ss.spoolId ) as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(ss.created_at) = '2020-01-18' AND ss.stageTypeId IN (1,2) AND s.deleted=0 AND o.deleted=0 AND sl.deleted=0 AND p.deleted=0 GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 07:43:15 PM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ss2.minutes' in 'field list' Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, sl.spoolDescription, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN ( SELECT ss.stageId, ss.spoolId, ss.locationId, ss.stageTypeId, ss.userId, ss.teamCount, ss.processId, ss2.minutes FROM spool_stages as ss #https://stackoverflow.com/a/10999689 group by show last row instead of first JOIN (SELECT spoolId, MAX(stageId) stageId FROM spool_stages GROUP BY spoolId) ss2 ON ss.stageId = ss2.stageId AND ss.spoolId = ss2.spoolId GROUP BY ss.spoolId ) as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId #WHERE DATE(ss.created_at) = '2020-01-18' WHERE ss.stageTypeId IN (1,2) AND s.deleted=0 AND o.deleted=0 AND sl.deleted=0 AND p.deleted=0 GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 07:34:40 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'workerId' in 'where clause' Raw SQL : SELECT creditId FROM `worker_credits` WHERE stageId=:stageId AND workerId=:workerId LIMIT 1 Time : 05:43:12 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:51:10 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:16:57 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:29:17 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:25:47 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:36:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:30:55 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:22:16 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:19:01 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:10:00 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:36:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:44:27 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:38:38 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:04:50 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:46:52 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:47:33 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:46:26 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:45:18 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:40:30 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:47:09 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:45:49 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:44:00 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:41:06 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:50:09 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:48:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:46:52 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:46:11 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:24:17 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:23:09 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:22:48 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:38:40 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:29:27 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:29:37 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:28:02 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:57:47 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:10:23 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:57:42 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:45:10 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:30:52 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:54:39 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:51:27 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:36:03 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:35:23 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:13:16 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:11:52 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:09:19 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:59:54 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:50:40 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:05:06 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:56:42 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:54:31 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:52:57 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:51:45 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:23:26 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:12:50 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:54:14 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:53:09 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:51:36 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:15:20 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:13:00 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:11:19 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:48:32 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:30:56 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:29:51 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:29:02 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:26:13 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:25:16 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:22:39 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:48:59 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:43:37 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:42:45 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:41:51 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:41:06 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:40:06 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:39:02 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:58:41 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:56:21 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:30:21 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:25:13 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:23:14 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:23:40 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:19:17 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:06:34 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:44:30 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:20:03 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:09:01 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:49:47 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:42:30 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:49:17 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:47:31 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:26:52 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:17:38 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:12:47 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:04:07 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:57:26 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:51:44 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:45:30 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:42:47 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:41:07 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:32:58 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:57:57 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:34:35 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:27:20 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:58:10 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:56:26 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:47:35 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:46:08 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:37:55 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 12:07:34 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:40:17 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:30:16 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:25:29 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:19:55 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:13:30 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:10:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:05:46 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:05:45 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:54:21 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:49:35 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:34:36 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:30:08 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:28:51 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:55:47 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:54:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:52:29 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:40:02 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:36:47 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:22:44 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:19:52 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:12:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:54:38 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:48:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:43:39 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:40:20 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:34:38 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:57:35 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:33:52 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:55:24 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:38:20 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:14:27 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:03:44 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:31:44 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:15:54 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 12:23:03 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:52:25 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:18:23 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:14:27 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:10:17 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:01:08 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:29:59 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:18:09 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:51:30 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:42:16 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:36:44 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:34:52 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:32:51 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:31:25 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:29:24 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:04:44 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:49:59 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:35:28 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:26:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:14:43 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:06:14 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:57:08 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:55:04 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:42:21 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 06:59:37 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 06:41:23 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:09:33 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:49:41 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:14:39 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:47:37 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:27:00 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:14:20 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:19:33 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:13:05 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 12:21:29 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:39:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:38:23 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:36:16 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:49:41 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:39:55 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:16:36 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:14:41 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:12:06 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:09:39 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:05:37 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:02:49 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:05:44 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:06:12 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:01:40 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:27:02 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:01:54 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:11:00 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:55:04 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:24:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:20:57 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:56:18 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:48:06 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:03:39 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:14:34 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:39:53 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:38:56 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:43:33 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:41:59 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:52:22 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:11:28 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:37:34 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:45:00 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:23:02 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:29:48 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 07:51:44 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 01:57:11 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:12:42 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:05:12 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:52:28 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:40:50 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 05:16:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:50:43 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 04:06:13 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:23:33 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 03:10:53 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:00:46 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 11:41:47 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 10:32:35 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:58:17 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:57:53 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:54:37 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:53:35 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 02:42:21 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageI' at line 22 Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN spool_stages as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(s.created_at) = '2019-12-17' WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 02:28:10 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageI' at line 22 Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN spool_stages as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(s.created_at) = '2019-12-17' WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 10:24:29 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageI' at line 22 Raw SQL : SELECT ss.stageId, s.*, concat(IF(stageTypeId=1, 'Under ', 'Finished '), pr.processName) as newStatus, sl.spoolNo, o.orderNo, sl.lineNo, l.locationName, c.customerName, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, GROUP_CONCAT(DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN spool_stages as ss ON ss.spoolId = s.spoolId INNER JOIN processes as pr ON pr.processId = ss.processId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(s.created_at) = '2019-12-16' WHERE ss.stageTypeId IN (1,2) GROUP BY s.spoolId ORDER BY ss.stageId DESC Time : 09:27:42 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:26:49 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 09:25:05 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES Time : 08:59:38 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c.SAP' in 'field list' Raw SQL : SELECT s.*, o.orderId, o.orderNo, c.customerName, p.projectName, c.SAP, sl.lineId, sl.lineNo, sl.spoolQuantity, sl.spoolNo, concat('https://amiantit.mohtaref.com/API/qrcode/', s.uuid) as qrcode, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at` FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON sl.orderId = o.orderId INNER JOIN projects as p ON o.projectId = p.projectId INNER JOIN customers as c ON c.customerId = p.customerId AND s.deleted = 0 AND s.spoolId=:spoolId LIMIT 1 Time : 08:59:00 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c.SAP' in 'field list' Raw SQL : SELECT s.*, o.orderId, o.orderNo, c.customerName, p.projectName, c.SAP, sl.lineId, sl.lineNo, sl.spoolQuantity, sl.spoolNo, concat('https://amiantit.mohtaref.com/API/qrcode/', s.uuid) as qrcode, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at` FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON sl.orderId = o.orderId INNER JOIN projects as p ON o.projectId = p.projectId INNER JOIN customers as c ON c.customerId = p.customerId AND s.deleted = 0 AND s.spoolId=:spoolId LIMIT 1 Time : 03:42:30 PM SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.status' in 'field list' Raw SQL : SELECT s.status FROM spools WHERE spoolId=:spoolId LIMIT 1 Time : 03:41:55 PM SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.status' in 'field list' Raw SQL : SELECT s.status FROM spools WHERE spoolId=:spoolId LIMIT 1 Time : 09:36:08 AM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'wt' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId INNER JOIN worker_team as wt ON wc.joinId = wt.joinId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wt.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 09:34:11 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wc.userId' in 'where clause' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wc.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 07:09:20 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(sl.plannedHoursPerPiece) as `plannedHours`, um.plannedResin / sl.spoolQua' at line 4 Raw SQL : SELECT c.customerName, p.projectName, o.orderNo, p.projectName, sl.lineNo, '?' as `balancedHours` (sl.plannedHoursPerPiece) as `plannedHours`, um.plannedResin / sl.spoolQuantity as `plannedResin`, um.plannedFabric / sl.spoolQuantity as `plannedFabric`, s.productionOrder,s.scheduledDeliveryDate FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId LEFT JOIN ( SELECT lineId, SUM(case when m.materialType = 'Resin' then slm.quantity else 0 end) as plannedResin, SUM(case when m.materialType = 'Fabric' then slm.quantity else 0 end) as plannedFabric FROM spool_line_materials as slm INNER JOIN materials as m ON slm.materialId = m.materialId ) as um ON um.lineId = sl.lineId GROUP BY s.spoolId Time : 06:49:46 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wc.userId' in 'where clause' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wc.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId AND (date(ss.created_at) BETWEEN date('2019-10-01') AND date('2019-10-10')) GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 06:49:45 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wc.userId' in 'where clause' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wc.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 06:49:42 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wc.userId' in 'where clause' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wc.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId AND (date(ss.created_at) BETWEEN date('2019-10-04') AND date('2019-10-31')) GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 06:49:41 AM SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wc.userId' in 'where clause' Raw SQL : SELECT s.spoolId, c.customerName, p.projectName, o.orderNo, s.productionOrder, DATE_FORMAT(s.created_at, '%Y-%m-%d %h:%i %p') as `created_at`, TIMESTAMPDIFF(HOUR, MIN(x.created_at), MAX(x.created_at)) as diffHoursInaccurate, TIMESTAMPDIFF(MINUTE, MIN(x.created_at), MAX(x.created_at)) / 60 as diffHoursAccurate, SUM(x.paidHoursPerStage) as paidHours, SUM(x.resinStageConsumption) as resignConsumption, SUM(x.fabricStageConsumption) as fabricConsumption FROM ( #stageTeamCount: each stage can have a different team composition e.g. stageId 1=> 4 team workers, stageId 2=> 3 team workers SELECT ss.stageId, ss.spoolId, ss.created_at, ss.stageTypeId, COUNT(wc.joinId) as stageTeamCount, xx.resinStageConsumption, xx.fabricStageConsumption, COUNT(wc.joinId) * 9 * 2 as 'paidHoursPerStage' FROM spool_stages as ss INNER JOIN worker_credits as wc ON ss.stageId = wc.stageId #get total stage materials consumption for each type Resin & Fabric LEFT JOIN (SELECT ssm.stageId, SUM(case when m.materialType = 'Resin' then COALESCE(ssm.quantity, 0) else 0 end) as resinStageConsumption, SUM(case when m.materialType = 'Fabric' then COALESCE(ssm.quantity, 0) else 0 end) as fabricStageConsumption FROM spool_stage_materials as ssm INNER JOIN materials as m ON m.materialId = ssm.materialId GROUP BY ssm.stageId) as xx ON ss.stageId = xx.stageId INNER JOIN worker_team as wt ON wt.joinId = wc.joinId WHERE ss.stageTypeId IN (1,2) #Only ScanIn and ScanOut (exclude quality assurance operations) AND wc.userId = :userId GROUP BY ss.stageId ) as x INNER JOIN `spools` as s ON s.spoolId = x.spoolId INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId GROUP BY x.spoolId Time : 05:33:06 AM SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '2019-11-18T21:00:00.000Z' for column 'scheduledDeliveryDate' at row 1 Raw SQL : UPDATE `spools` SET scheduledDeliveryDate=:scheduledDeliveryDate, productionOrder=:productionOrder WHERE spoolId=:spoolId Time : 12:14:59 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 12:14:49 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 12:14:29 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 12:14:22 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 12:14:15 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 12:13:56 PM SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'l' Raw SQL : SELECT x.stageId, x.spoolId, l.locationName, st.stageName, u.fullname, u.userId, u.userType, x.minutes FROM ( SELECT ss.stageId, ss.spoolId, ss.locationId, max(ss.stageTypeId) as lastStage, max(ss.userId) as lastUser, TIMESTAMPDIFF(MINUTE, MIN(ss.created_at), MAX(ss.created_at)) as minutes FROM spool_stages as ss GROUP BY ss.spoolId ) as x INNER JOIN stage_types as st ON x.lastStage = st.stageTypeId INNER JOIN users as u ON x.lastUser = u.userId INNER JOIN locations as l ON l.locationId = x.locationId INNER JOIN locations as l ON l.locationId = x.locationId ORDER BY x.spoolId Time : 09:07:25 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spo' at line 2 Raw SQL : SELECT s.*, o.orderNo, sl.lineNo, l.locationName, c.customerName, GROUP_CONCAT (DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN spool_stages as ss ON ss.spoolId = s.spoolId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(s.created_at) = '2019-11-12' GROUP BY s.spoolId Time : 09:07:19 AM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spo' at line 2 Raw SQL : SELECT s.*, o.orderNo, sl.lineNo, l.locationName, c.customerName, GROUP_CONCAT (DISTINCT(u.fullname)) as assignedTeams FROM `spools` as s INNER JOIN spool_lines as sl ON s.lineId = sl.lineId INNER JOIN orders as o ON o.orderId = sl.orderId INNER JOIN projects as p ON p.projectId = o.projectId INNER JOIN customers as c ON c.customerId = p.customerId INNER JOIN spool_stages as ss ON ss.spoolId = s.spoolId INNER JOIN locations as l ON ss.locationId = l.locationId INNER JOIN users as u ON ss.userId = u.userId WHERE DATE(s.created_at) = '2019-11-12' GROUP BY s.spoolId Time : 09:00:08 PM SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(16,?)(16,?)(16,?)' at line 1 Raw SQL : INSERT IGNORE INTO `worker_credits` (`stageId`, `joinId`) VALUES (16,?)(16,?)(16,?)(16,?) Time : 04:30:51 AM SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'userId' at row 1 Raw SQL : UPDATE `processes` SET `userId`=:userId WHERE processId=:processId Time : 04:25:34 AM SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'userId' at row 1 Raw SQL : UPDATE `processes` SET `userId`=:userId WHERE processId=:processId