Database error - send this to Keith: 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 '/img.subeta.net/pets/'], .container-fluid div.row.w-100 > div.col-3.p-3 > ce' at line 1 (SQL: UPDATE user_var set customcss='' WHERE userid='479')
Whenever I try to update my customCSS, the site throws this error.
When I try to use the night mode code I used before the server change I get this message
Database error - send this to Keith: 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 'Icons'; content: "f078"; font-size: 10px; padding-left: 2px; color:;} ' at line 1 (SQL: UPDATE user_var set customcss='' WHERE userid='643414')
The code I'm trying to use is from this thread, in case, that helps: -Night Mode- Shengui Guo Custom CSS [v2.0]
Newly saved custom CSS is breaking.
Using an apostrophe in your CSS will either get rejected completely when you try to save it, or give the errors posted above.
Backslashes are also being stripped. Example -toggle-button::before {
font-family: "Icons";
content: "f0ec";
}
Thanks for the reports. This issue should be fixed now; could you please confirm?
🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights
I just checked; the night mode CSS I use is working again. Thank you so much and thank you for all the work you guys have been putting in :D