Describe the bug
If using together with the 'GDPR' plugin, I can enable an 'Exception Rule' for 'Consent Management' or 'Cookie Management', but I can leave the 'Item to check' empty... which in turn causes an issue, because it would make GDPR call a function with null argument.
To Reproduce
Steps to reproduce the behavior:
Create a page with an embedded YouTube video using the OOTB embeding feature in WP.
Install 'oEmbed Manager'
Install 'GDPR'
Go to the admin, and enable 'Cookie managemen' under 'Exception Rules', but leave the 'consent ID' field blank.
Try to open a page, and check, whether the YouTube embed is blocked.
Observer the page is broken; check the server logs, and see a 500 error, complaining about the is_allowed_cookie() being called without arguments instead of at least 1.
Expected behavior
The page opens, and fails gracefully. But actually, and more preferably the admin interface not letting me save the config, that doesn't make sense.
Environment (please complete the following information):