502 Bad Gateway


502 Bad Gateway nginx

I was editing my theme’s function.php file. I just wanted to add cookies so I added some lines of code and saved it. but after that my website showed this error. So I deleted that code and tried again but still the same. I am sure that I didn’t delete any other code

Hi and welcome to the forum

Everything looks normal to me

Do you still have that problem? or is this problem visible only if you are logged in as admin?


Hey, Thanks for the reply
yea it’s working fine now, I think it needs time some to update


I have a feeling that some work is being done on the servers in the form of maintenance, so 502 can happen here and there, but I’m glad it didn’t last.

In any case, good luck with your future work :slightly_smiling_face:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.