Two-factor authentication won't send code on manage apple id page
Hi there, so my phone is disabled and I have two-factor authentication on for the phone and a macbook air. I've been told to remove the two-step authentication before I proceed to restore my phone by going to https://appleid.apple.com and when I log in, it ask for the two-factor authentication code that's been sent to the devices. Please enter the code to continue. But the code didn't pop up, and I keep resending the code, but it's not sending still. Both of my devices is trusted using the T-F authentication, but it doesn't send me the code on my macbook. So if it sends to my phone, then I can't access it since it's disabled.
Edit:
Because my phone is disabled, I can't use FaceTime, messenger or mail on my laptop (using the same iCloud), and when I try to log in to iCloud through system preferences, it says error.
Please help me gain access to the system, it won't send me the code 😟
Thanks for your help.
MacBook Air, OS X El Capitan (10.11.2)