Posted: June 21, 2018 at 5:38 am
|
Hello — I followed your instructions in this post https://eventespresso.com/topic/change-goes-on-sale-text/ and added the filter function to my functions.php file. I uploaded the file into my child theme folder and my website turned to a white screen. Here is a copy of my functions.php file:
Would appreciate your help. Thank you! |
Hi there, If you add this snippet to your wp-config.php file: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Then retest your code, the whitescreen should add a log entry to /wp-content/debug.log. What error is shown there? Note, I’ve just test the bottom functions you posted and didn’t have any issues so thats why we need the error itself. |
|
|
Thank you for your prompt response! I added the code to the wp-config.php then uploaded the functions.php file and it now works! I didn’t receive an error message, just a white screen. Should I remove the code from the wp-config.php file or keep it as is? Appreciate your help, thank you! |
A white screen means a fatal error was thrown but your server is (correctly) setup to not show the errors. The wpdebug snippet tells your server to log the errors so we can view them. As it’s working you want to remove that code from wp-config.php again, otherwise it’ll just continue to log any notice/warning/error on the site and get rather large. |
|
|
Got it. Will do. Many thanks! |
The support post ‘Changed "Goes on Sale" text filter function code creates white screen’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.