Welcome to Android Central! Which phone? If it's a Samsung that's been updated to Pie, also make sure that you're using a theme that's been updated for Pie. Themes that haven't been updated can cause what seems like invisible text, when in fact the text is just the same color as the background.