PHP warning messages

#155267
  • Resolved Scott Robins
    Rank Math pro

    Hi Folks

    We are seeing lots of PHP warning messages with rankmath.

    Is this an issue on our side or yours ?

    Many thanks

    Warning Undefined array key 14 1
    wp-includes/class-wp-query.php:3284
    Plugin: seo-by-rank-math

    wp-includes/class-wp-query.php:3284
    WP_Query->next_post()
    wp-includes/class-wp-query.php:3313
    WP_Query->the_post()
    wp-includes/query.php:975
    the_post()
    wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-itemlistpage.php:65
    RankMathSItemListPage->get_post_collection()
    wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-itemlistpage.php:47
    RankMathSItemListPage->process()
    wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php:241
    RankMathSJsonLD->add_context_data()
    wp-includes/class-wp-hook.php:289
    apply_filters_ref_array(‘rank_math/json_ld’)
    wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php:102
    RankMathSJsonLD->do_filter()
    wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php:142
    RankMathSJsonLD->json_ld()
    wp-includes/class-wp-hook.php:287
    do_action_ref_array(‘rank_math/head’)
    wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php:88
    RankMathFHead->do_action()
    wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php:153
    RankMathFHead->head()
    wp-includes/class-wp-hook.php:287
    do_action(‘wp_head’)
    wp-includes/general-template.php:3005
    wp_head()
    wp-content/themes/listimia-child/header.php:29
    load_template(‘wp-content/themes/listimia-child/header.php’)
    wp-includes/template.php:676
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/listimia-child/page-templates/fullwidthpage.php:10

Viewing 13 replies - 1 through 13 (of 13 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress & FTP 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/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Hi

    When i do this its not giving me the option to Enable while troubleshooting for rankmath ?

    Many thanks

    Scott

    Hello,

    Thank you for following up.

    Please ensure that Rank Math is activated before you enable the troubleshooting mode.

    If it’s still not letting you enable it during troubleshooting mode, we might need to further investigate your website by sharing your WordPress and FTP credentials in the designated Sensitive Data section.

    I hope that helps. Thank you, and looking forward to your update.

    Hello,

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

    Thank you.

    Hi Folks

    We had to put this in maintenance mode due the issues we were experiencing. Were you able to find a resolution to these php error’s ?

    Kind Regards

    Scott

    Hi,

    We had to roll back a back of our entire site due to the issues we experienced. We are doing some testing ourselves now, if the issue still persists I will let you know.

    Kind Regards

    Scott

    Hello,

    Thank you for your update, and sorry for the delay.

    Let us know how this goes as we are always here to help.

    In the meantime, please don’t hesitate to contact us anytime to assist you further with anything else.

    Thank you.

    Hi Folks

    Sorry we are still seeing these php errors.

    Steps to reproduce.

    1. Go to this page while logged in as an administrator.

    https://shoppingonline.ie/shops/category/shoe-shops-mens/

    2. You will notice on the top of the page to the right of “Rank Math” we have Query Monitor installed. If you click on this you will notice 19 php notices.

    Kind Regards

    Scott

    Hello,

    Thank you for keeping in touch with us and we apologize for the unexpected delays.

    I am trying to access your admin dashboard again and the login information you provided is no longer working on my end. Please check your login info so we can further investigate your issue.

    We are looking forward to helping you.

    Hi Folks

    Apologies, can you try now.

    Kind Regards

    Scott

    Hello,

    Thank you for following up, and sorry for the delay.

    I’ve checked your site, and it seems that the PHP errors are due to your schema. However, I’ve removed the Rank Math schema for your shop category pages by enabling the Remove Snippet Data in Rank Math > Titles & Meta > Gd_shops: shop Categories and the errors are no longer showing.
    Remove Snippet Data

    Removing schema from your archive/category pages is usually the recommended way, especially if the products show a warning in your console since these warnings are usually translated into errors in archive pages as per Google guidelines. However, if you are comfortable with your product having warnings or errors, you can enable the schema for your categories/archive pages. You can always check your URLs for issues using Google rich results test tool

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance.

    Thank you.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.