An Error Occurred

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Can you please share the error message you are getting so we can check?

    Have you tried checking your website on our online version of the tool?
    https://rankmath.com/tools/seo-analyzer/

    Does it work fine when you test it here?

    It doesn’t say anything other than an error occurred. says the same on the online version of the tool.

    My error says:

    Fatal error: Uncaught Error: Cannot use object of type RankMath\SEO_Analysis\Result as array in /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-result.php:127 Stack trace: #0 /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(205): RankMath\SEO_Analysis\Result->get_status() #1 /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(179): RankMath\SEO_Analysis\SEO_Analyzer->can_count_result(Object(RankMath\SEO_Analysis\Result)) #2 /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(110): RankMath\SEO_Analysis\SEO_Analyzer->get_graph_metrices() #3 /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyze in /data/62/4/26/65/4352717/user/5019608/htdocs/LasVegas/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-result.php on line 127
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    happened after I updated the plugin says check my email but I havent received anything.

    I am getting the same error as Sheena.

    Partially resolved editing the connection server to server using External access without restrictions.

    I would like to use “The external access is restricted to the domains in whitelist”. Could you help me which domains I should add in order to rank math SEO works for the Seo Analysis?

    Partially resolved editing the connection server to server using External access without restrictions.

    I would like to use “The external access is restricted to the domains in whitelist”. Could you help me which domains I should add in order to rank math SEO works for the Seo Analysis?

    Thanks

    Hi @johnathanmullins

    Could you please edit the following files and make the described changes:

    /includes/modules/seo-analysis/class-seo-analyzer.php

    Change the following line (line number 358):
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 20 ] );

    to increase the timeout value to 60:
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 60 ] );

    In the future we might add a filter hook to this line, so that the value can be changed from outside the plugin. That way, you won’t have to redo the change after each update of the plugin.

    @sheenamarie you can fix this by heading over to Rank Math > Status & Tools > Tools and click on the Flush SEO analysis data button.

    @alessandro-battistini06 I can suggest that you whitelist the following IP:
    104.20.193.153

    Hope that helps. If you have any question, please feel free to ask.

    That didnt seem to work.

    Hi @johnathanmullins

    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.

    Hello,

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

    Thank you.

    Hi @johnathanmullins

    It is likely that your server is hitting some sort of limit when running the SEO analysis.

    I have performed the SEO analysis several times and it only worked once and then stopped. At the moment it is working but you will need to take a look in your server error log for an idea of what kind or error is causing this.

    You can also enable debugging by following these steps:
    Add the lines below to the wp-config.php or if they already exist just change their values:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Attention: Make sure that you write the lines exactly as shown.
    Do not forget any semicolon or other characters!

    After reloading the website all WordPress debug errors will be written into the file debug.log which is located in the folder: wp-content/debug.log

    Let me know how this goes.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘An Error Occurred’ is closed to new replies.