'topSectionContainer' is assigned a value but never used no-unused-vars - css

I am not completely sure where my mistake is since I just started learning React. The background image that I'm importing is not working and it might be due to the error I'm getting.
snapshop of code and error. picture of browser

Related

Incorrect Ikonli icons displayed

I am having problems using the Ikonli icon packs. I am creating FontIcon objects and then using those to set the graphics on buttons. Icons taken from the FontAwesome5 pack work great. Icons taken from the Material2 pack seem to shift somehow - for example, I try to get mdal-6_ft_apart but what actually gets displayed is mdal-loyalty. And no matter which Icon I load from MaterialDesign2, all I see is an empty box.
I'm running this through Eclipse, and everything looks fine when stepping through with the debugger. This is the value of the button graphic:
ObjectProperty [bean: mdal-6_ft_apart:15:0xffffffff, name: iconCode, value: MDAL_6_FT_APART]
and yet, on the screen, it's something completely different.
This is a Maven project using OpenJDK 16 and JavaFX 16. I've tried loading just a single icon pack instead of all 3, but no difference. Also, there are never any errors retrieving the icons. The ServiceProviders are all found, and the icons are available.
I made a small Hello World program and everything runs fine, so it's definitely an issue with my program and not the library. But I have no idea what the problem is, and I've been staring at this for almost 2 hours. Has anyone come across this before? I'd appreciate any help, because I'm out of ideas.
Answering this myself in case it saves someone else some time. I was installing the Ikonli library in order to replace the FontAwesomeFX library that is no longer available. I had gotten partway through replacing the icons when I ran the app in order to check the progress, and that's when I saw the errors.
The problem turned out to be an interference between the two libraries - FontAwesomeFX was throwing of Ikonli. The icon shift didn't actually occur until the code displayed a FontAwesomeFX icon, which made it seem a little random depending on the order I would open the dialogs when testing. I'm assuming an issue with the Service Handlers, though I'm not positive because I stopped troubleshooting once I realized the problem and just finished the replacement.
Once I stopped displaying FontAwesomeFX icons and the dependency was removed, Ikonli worked fine.

Redactor editor not saving in Concrete 5.7.3.1

As said here: https://www.concrete5.org/index.php?cID=750921 when I try and save any text with redactor, I get the index page's mark-up as the error message.
Someone suggested that this could be an ajax error however I really have no idea. There is no error log produced and I am at a loss as to what is actually causing this to happen.
The strange thing is I can leave the content block empty and it will save fine but when I type anything into the box and hit save it throws an error.
The site has been working for the last 3 months without issue so I'm not sure why it has suddenly stopped working.
If anyone could help, this problem is driving me and my client nuts.
Edit:
On further testing this problem is localized to the server which is running the website because it works absolutely fine on my local version of the website. It also seems to not only affect redactor but also any form.
Updating to 5.7.4.2 solved my problem.
Thanks to #pc-shooter for the suggestion!

Chrome Developer Console Started Logging Too Much Info. CSS Warnings

I do a large part of my development work in the Chrome developer console, and love it, but recently something highly annoying has happened.
Every page load, I now get a log of every CSS property warning, a considerable list that fills the entire console with warnings. I know I can set the log level to filter out warnings, but I want to see some warnings, particularly script related. Also, this resets itself every page load, so all the CSS warnings fill up my console, and look visually upsetting.
See the screenshot:
I believe that this started happening immediately following the most recent chrome update, but I was also fooling around with some of the settings in the console. I've looked through the settings in the console and under chrome://flags but haven't found anything. Does anyone know why this is?
I've never had this happen to me, but have you tried deleting the history?
https://developers.google.com/chrome-developer-tools/docs/shortcuts#console

Bug in the validator or obscure error in my CSS?

I am trying to validate a CSS document with the W3C validator, and it's giving some warnings related to color and background-color that should not appear since, well, I don't have those issues present in my document. Having it incorrectly report a warning wouldn't be so much of a surprise, but it reports different warnings every time the SAME document is validated!
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fstatic.petroules.com%2Fcss%2Fphotocrayze%2F0-site.css&profile=css21&usermedium=all&warning=2&vextwarning=false&lang=en
Try clicking that link to validate the document, and refresh a few times - notice it'll report a different set of errors each time.
I can't figure this out for the life of me - is this a known issue? I've only been able to reproduce it with this particular document.
If you copy the CSS and paste it into here it validates without any warnings.
I'd just put it down to validator weirdness.

Flex builder error

My flex builder suddenly stopped highlighting compile time errors.
Its also not giving any code completion suggestion, even after pressing ctrl+Space.
What could be the possible reasons?
Regards,
PK
this happens sometimes and it seems for no reason. What may have occurred is you may have an error higher up inside your code of which the compiler has not picked up - This can happen, but when it does the clue is the suggestion stops working and any errors proceeding don't get highlighted.
Clean your project,
restart flex,
check to see if you have the same problem on an another project - you probably won't and this'll show you the clue you have an error in your code.
Be aware the error may not be in that file - it could be in an ajoining mxml file or superclass.

Resources