There is nothing to fix.
The error you are getting is because the source that your script is getting data from (forum.habborp.com) doesn't seem to exist anymore.
I'm not sure what kind of data used to be there, but your best/only best is to find a drop-in replacement for that or completely remove that dependence.
Can't offer another solution without knowing more about your project.