How do I fix, my 6P will neither ring nor vibrate unless the screen is lit?

I've deleted the old vibration tone entered a new one turned ring tone on and off and the problem persists.
re:

Could you possibly have unintentionally enabled "Do Not Disturb" mode? Quick check: click the on/off switch on the side of your device to allow the screen to light up. Look in the top right corner of your device near the battery indicator. Do you see a crescent moon shaped icon? If so, simply swipe up from the bottom of the screen to reveal the shortcuts and toggle off the icon with the same image. Do Not Disturb, in case you're unfamiliar, is a very handy feature you can enable and disable as needed for when you don't want calls or notifications. If you are using your device however (screen on), then it still notifies you because you are using the device. Hope this helps.
re:

When I swipe upwardfs the crescent stays the same and the same problem is there.
re:

My apologies, I tried again and it is now working properly.

Thank you!
re:

Here's a bit more about how "Do Not Disturb" works...

From iMore...

How to set up and use Do Not Disturb mode on iPhone and iPad | iMore

From Apple....

https://support.apple.com/en-us/HT204321

Original thread: https://forums.imore.com/threads/how-do-i-fix-my-6p-will-neither-ring-nor-vibrate-unless-the-screen-is-lit.379659/