Rank Math breaking HTML on WooCommerce 4.0

#37656
  • Resolved Doug Rider
    Rank Math free

    I move the site to a dev account. Please see change in “Sensitive Data” area.

    • This topic was modified 4 years, 1 month ago by Doug Rider.
    • This topic was modified 4 years, 1 month ago by Doug Rider.
    • This topic was modified 4 years ago by Doug Rider.
Viewing 15 replies - 1 through 15 (of 15 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Does this happen on the backend or the frontend of your website? Would you mind sharing a few screenshots so that we can test this from our end?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    I have just spent sometime testing this on vanilla install but I could not replicate the broken HTML in 4.0 and 4.0.1.

    Could you please check if the problem is isolated to your current theme by temporarily switching to one of the stock WP themes?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi Micheal, The conflict is with the Beaver Builder Pro plugin, WooCommerce, and RankMath (all using the latest versions). No CSS is loading on WC Variable products, but Simple products are ok. I’ve removed all caching (server and plugin), deactivated all other plugins, and changed themes. When I deactivate either BB or RankMath, all products are loading CSS.

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Doug Rider
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have been able to replicate your issue. Please allow me to consult the dev team and I’ll get back to you.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Doug Rider
    Rank Math free

    Hi Michael,

    Is there any progress toward fixing this issue?

    Thanks.
    Doug

    Hello,

    It looks like the Product schema is causing the problem. To fix the issue on your site, I have set the Schema to None on the variable product page.

    Are you using any Beaver Builder template on your Product pages? I see in Product Description you are using fl_builder_insert_layout shortcode but I couldn’t find any templates in the Beaver Builder settings.

    Also, can you add your site’s FTP access in the Sensitive Data Section so we could check the issue by editing some files?

    Looking forward to helping you.

    Doug Rider
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Doug Rider
    Rank Math free

    Following up again on this issue – has there been any progress?

    Michael Davis
    Rank Math pro

    Hi Doug,

    Apologies for the delay.

    I have just pushed this up the queue and we will testing shortly and get back to you.

    We appreciate your continued patience. Thank you.

    Hello,

    The Product Description field in the Schema is decoding the Beaver Builder shortcode which is causing problem.

    I have forwarded this issue to our Development team. They will further debug and fix the issue in the upcoming update.

    For now, to fix the issue on your site, I changed following code in seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php file on line 598:

    replaced:
    return wp_strip_all_tags( do_shortcode( $description ), true );
    with:
    return wp_strip_all_tags( WordPress::strip_shortcodes( $description ), true );

    and on line 18 in the same file, I added WordPress dependency:
    use MyThemeShop\Helpers\WordPress;

    I hope that helps. If you need any other assistance, please feel free to let us know.

    Hello,

    Please update to the latest version of the plugin.

    That should resolve the issue.

    If that is not the case, please feel free to open a new support ticket.

    We are here to help.

    Thank you.

Viewing 15 replies - 1 through 15 (of 15 total)

The ticket ‘Rank Math breaking HTML on WooCommerce 4.0’ is closed to new replies.