Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi again
on page
/admin/config/opensocial/profile-fields
after de-selecting some of the profile field to use, saving config, then clicking upon 'flush profile data' I get the following error :-
"Deprecated function: Non-static method Drupal\social_profile_fields\SocialProfileFieldsBatch::performFlushFinishedCallback() should not be called statically in _batch_finished() (line 454 of core/includes/batch.inc). "
error stays if repeated
cheers and thanks
all info correct as of now
Comments
Comment #2
sjoerdvandervis CreditAttribution: sjoerdvandervis for Open Social commentedI've created a patch, you can find it here: https://patch-diff.githubusercontent.com/raw/goalgorilla/open_social/pul...
Comment #3
kokrull CreditAttribution: kokrull commentedthanks but where am i patching from. going from doc root where the composer.json file is it throws this up
git apply 1416.patch
error: modules/social_features/social_profile/modules/social_profile_fields/src/SocialProfileFieldsBatch.php: No such file or directory
site root throws the same error
advice needed. cheers and thanks
Comment #4
kokrull CreditAttribution: kokrull commentedFound it
patch applys cleanly and now able to flush with no errors
Fixed
cheers and thanks
PS
Are patches always applied from the /profiles/contrib/social folder?
Comment #5
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and for Open Social commentedThanks! Will be in the next 4.x and 5.x release as well