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 'The Circle. A Family Story": a video by Gianluca Vassallo - Press Agency - Ergo ' at line 2 SQL=INSERT INTO hg9ih_Stalytics_exitpage_count(title,year_day, month_day, week_day, week, month, year,visit_date,last_update) VALUES ("25 years of Tubes: "The Circle. A Family Story": a video by Gianluca Vassallo - Press Agency - Ergo Online ",DAYOFYEAR(20171215), DAYOFMONTH(20171215), DAYOFWEEK(20171215),WEEK(20171215,1), MONTH(20171215),YEAR(20171215),20171215,NOW())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 'The Circle. A Family Story": a video by Gianluca Vassallo - Press Agency - Ergo ' at line 2 SQL=INSERT INTO hg9ih_Stalytics_exitpage_count(title,year_day, month_day, week_day, week, month, year,visit_date,last_update) VALUES ("25 years of Tubes: "The Circle. A Family Story": a video by Gianluca Vassallo - Press Agency - Ergo Online ",DAYOFYEAR(20171215), DAYOFMONTH(20171215), DAYOFWEEK(20171215),WEEK(20171215,1), MONTH(20171215),YEAR(20171215),20171215,NOW()) Studio D73 - Press Agency - Ergo Online