• Hi, I’ve encountered a warning message while using the “BP XProfile Custom Field Types” plugin on my WordPress website. The message reads:

    “Warning: Declaration of BPXProfileCFTR\Field_Types\Field_Type_Tags::admin_new_field_html($current_field, $control_type = ”) should be compatible with BP_XProfile_Field_Type_Textbox::admin_new_field_html(BP_XProfile_Field $current_field, $control_type = ”)”

    After doing some research, it seems that adding the class BP_XProfile_Field to the parameter $current_field in file ‘wp-content/plugins/bp-xprofile-custom-field-types/src/field-types/class-field-type-tags.php’ on line 56 seems to resolve the compatibility issue.

    Could you please investigate this solution and release a fix for this bug? Thank you.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BuddyDev

    (@buddydev)

    Hi,
    Thank you for reporting the issue.
    I am sorry for the inconvenience. We will push an update in next 2 days and audit all code to avoid this notice. It is a method signature mismatch and happened as the BuddyPress added 3rd parameter but some of our fields does not have that.

    Regards
    Brajesh

    Plugin Author BuddyDev

    (@buddydev)

    Hi,

    Thank you for your patience.

    We have updated the plugin. Please upgrade and check.

    Regards
    Brajesh

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatibility Issue with ‘BP XProfile Custom Field Types’ is closed to new replies.