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

kokrull created an issue. See original summary.

sjoerdvandervis’s picture

Status: Active » Needs review
kokrull’s picture

thanks 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

kokrull’s picture

Found 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?

ronaldtebrake’s picture

Status: Needs review » Fixed

Thanks! Will be in the next 4.x and 5.x release as well

  • sjoerdvandervis committed 06eeb1f on 8.x-6.x
    Issue #3059892 by sjoerdvandervis: Added the static keyword to the...
  • ronaldtebrake authored ab8259a on 8.x-6.x
    Merge pull request #1416 from goalgorilla/bugfix/3059892-static-function...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.