CSS styling never loaded because of error in console
-
On our website we have a dropdown select box, but when you open it the background is transparent which makes the text not readable.
It does not help when I change the settings of the form and switch from the default styling to custom styling to set a background color, this is never applied to the frontend.
In the console I get an error 500, when I open that URL I indeed get the Internal Server error:
...../wp-content/uploads/forminator/1078_c936b7441a0xxxxxxb981c9df913fe6/css/style-1078.css?ver=1681830955 net::ERR_ABORTED 500
When I download that file from the server over FTP (I checked file and folder permissions too) there is nothing weird I could find.
But; When I remove the
style-1078.css
file via FTP and manually set a background color for the dropdown / select elements (see this image) the file is recreated but malformatted (no opening curly brace, instead a comma):#forminator-module-1078.forminator-design--flat .forminator-input-with-icon:hover [class*="forminator-icon-"], color: #777771; } #forminator-module-1078.forminator-design--flat .forminator-is_active .forminator-input-with-icon [class*="forminator-icon-"], color: #777771; } #forminator-module-1078.forminator-design--flat .forminator-is_active .forminator-input-with-icon [class*="forminator-icon-"], border-color: #17A8E3; }
That is not valid CSS in my book, but also in a completely different place than what I’ve added (background settings). When I “fix” the CSS it still does not work and save the file. The browser will never notice it, since that is besides of the problem that the actual
style-1078.css
file returns an error 500.It happens on two different forms, it is not isolated to just this form.
Normal PHP errors show up on screen, this however does not. Any pointers on how to debug this?
Thanks,
Ronald
- The topic ‘CSS styling never loaded because of error in console’ is closed to new replies.