• Resolved Md. Istiaq Hossain

    (@istiaqhossain)


    Issue Summary:
    I have identified a compatibility issue with the Rank Math SEO plugin, while using elementor button widget and buddyboss theme activity widget, specifically related to the “add_link_attributes” function within the file “seo-by-rank-math/includes/frontend/class-link-attributes.php.” This function is performing a string replace operation that is causing unexpected errors.

    Steps to Reproduce:

    1. Activate the Rank Math SEO plugin.
    2. Activate the Elementor plugin.
    3. Activate the Buddyboss theme.
    4. Create a page and edit with Elementor.
    5. Add a button with External Link.
    6. Add Activity widget below that button.
    7. Post some activity with mentions.
    8. You will see in the activity widget, the content is broken.

    Expected Behavior:
    Should not break the content.

    Actual Behavior:
    The content is broken.
    data-bp-activity attribute of list item activity has the serialize value and that value is broken when Rank Math SEO plugin is active.

    Function Code

    Content Broken View

    Error Details:
    Upon investigation, the issue seems to stem from the “add_link_attributes” function in the mentioned file. The string replace operation within this function is causing the issue.

    Environment:
    WordPress Version: Latest version
    Rank Math SEO Version: Latest version
    Elementor Version: Latest version
    Buddyboss Theme: Latest version

    Thank you for your prompt attention to this matter. I appreciate your assistance in resolving this compatibility issue.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Incompatibility Issue: Error Caused by add_link_attributes Function’ is closed to new replies.