• Resolved joshcandoit4

    (@joshcandoit4)


    Hey everyone, so I just set up a local copy of my existing website using MAMP. When I tried to log in, I started noticing issues. I was able to narrow it down through troubleshooting to my functions.php file in my child theme. When it is completely empty, everything works fine. However, as soon as I add even <?php, the login page just refreshes or goes nowhere when user info is entered.

    Have you guys seen this before? I am really not doing anything too fancy with it.

    Again, if I change themes or just delete all contents of functions.php, then everything works mostly fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    as soon as I add even <?php, the login page just refreshes or goes nowhere when user info is entered.

    Make sure there is no empty space before <?php

    Thread Starter joshcandoit4

    (@joshcandoit4)

    Thank you so much! I didn’t see this reply until just now but that did the trick!

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘child theme functions.php file causing login refresh issue’ is closed to new replies.