If the “Auto-resize Guest Display” is greyed out for you, go ahead and reboot your virtual machine and check if the issue is resolved. In case that doesn’t work, go ahead and restart your VirtualBox.
It is the first thing you need to fix the issue as stated above. For that, you need to run the virtual machine showing the error and go to the Devices > Install Guest ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results