I’ve been trying to use an option field to update the site logo with. Was trying
update_option('custom_logo', get_field('field_name', 'options'), true);
But for some reason that seemed to break the entire site and gave a HTTP 500 error. Using the same method worked fine for updating site title and description.
I’m using Astra as theme.
Any help appreciated.