WordPress database error: [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 '%4$d, last_viewed = '%3$s'' at line 3]
INSERT INTO wp_popularpostsdata (postid, day, last_viewed, pageviews) VALUES (368954, '2017-10-18 03:43:16', '2017-10-18 03:43:16', 1) ON DUPLICATE KEY UPDATE pageviews = pageviews + %4$d, last_viewed = '%3$s';

WordPress database error: [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 '%2$d, last_viewed = '%4$s'' at line 3]
INSERT INTO wp_popularpostssummary (postid, pageviews, view_date, last_viewed) VALUES (368954, 1, '2017-10-18', '2017-10-18 03:43:16') ON DUPLICATE KEY UPDATE pageviews = pageviews + %2$d, last_viewed = '%4$s';

Revealed: DWP’s full list of 87 Jobcentres to be axed across Britain over the next 7 months – and the dates they’re due to shut down – Mirror Online