Issue #3363366 by marcoscano, DamienMcKenna: metatag_generate_entity_metatags() no longer accepts NULL, causing BC-breaking change.