Level 1
Found, the problem. Stupid mistake of including the footer twice.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I am using Laracasts PHP to JS transformer, found here. On any html page you use it you are supposed to create a blank footer.blade.php file (really an empty file), and then on the page you want to use the JS variables you have to do @include ('footer') . There is one div on a page like this whose positioning is moved up by one pixel. I couldn't figure out why until I started deleting part of the html and I found out that removing the include footer fixes it.
Has anyone else had this problem and know of a solution?
Please or to participate in this conversation.