Undefined Variable issue in theme
Hello,
We are using the Elvina Pro theme and it looks like the theme’s or one of the theme’s PHP files has an undefined variable. I think our server cant load the whole file and keeps trying to, which results in a 503 error code sometimes.
Replies (3)
-
May 23, 2019 at 3:32 pm
Hello,
We are using the Elvina Pro theme and it looks like the theme’s or one of the theme’s PHP files has an undefined variable. I think our server cant load the whole file and keeps trying to, which results in a 503 error code sometimes. -
Hi Martin,
Thanks for contacting us 🙂
Your site is running fine.
The undefined variable does not result in a 503 error code. The undefined variable will break the site and you’ll get a clear message on top with a white screen. 503 error code often comes will hosting server when there is a misconfiguration or there is a load on your server.
Check the article below
https://www.wpbeginner.com/wp-tutorials/how-to-fix-503-service-unavailable-error-in-wordpress/Best Regards
-
June 6, 2019 at 12:47 pm
Thank you for the help.
Just to clarify, the undefined variable should actually break the site?
-
June 7, 2019 at 12:56 am
Hi Martin,
Not exactly but it will show an error message on top of your site.
Best Regards