Issues with light function using rect light

I have the same problem, I do not know how to solve it.
Though I think the reason with the infinite lines is because of the property (Tiling Method) in the image used for the texture. Try to use Wrap.
This will only remove the lines, but the quarter problem will remains.