Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
The function social_post_update_8601 is being executed with every database update. Because the module is called social_post Drupal actually thinks its a hook_post_update. See: https://www.drupal.org/project/drupal/issues/2880361
Proposed resolution
It’s changing configuration, this should happen in a post_update hook and not an update hook. So moving it to social_post_post_update_8601_administer_post_permissions in social_post.post_update.php solves the issue for now.
Comments
Comment #4
jaapjan CreditAttribution: jaapjan for Open Social commentedhttps://github.com/goalgorilla/open_social/pull/1529
Comment #5
jaapjan CreditAttribution: jaapjan for Open Social commentedWill be in 7.0.