Title: php error on SEO Analyzer
Last modified: April 5, 2023

---

# php error on SEO Analyzer

 *  Resolved [Pierre_02](https://wordpress.org/support/users/pierre_02/)
 * (@pierre_02)
 * [3 years ago](https://wordpress.org/support/topic/php-error-on-seo-analyzer/)
 * Hi.
 * Today I recieved a WP email for a technical issue for the page SEO Analyzer on
   one of my website.
 * I have this error message:
 *     ```wp-block-code
       /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/views/serp-preview.php on line 16
   
       Uncaught Error: Call to a member function get_result() on null in /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/views/serp-preview.php:16 Stack trace: #0 /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(177): include() #1 /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/views/graphs.php(68): RankMath\SEO_Analysis\SEO_Analyzer->display_serp_preview() #2 /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(170): include('/path/…') #3 /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php(125): RankMath\SEO_Analysis\SEO_Analyzer->display_graphs() #4 /path/deboffles.fr/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/views/seo-analyzer.php(38): RankMath\SEO_Analysis\SEO_Analyzer->display() #5 /h in
       ```
   
 * I tried to click on “Restart SEO Analyzer” and on the button “Start SEO Analyzer”
   but it doesn’t seems to reload the results.
 * TIA for your help.
 * Pierre.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-on-seo-analyzer%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [3 years ago](https://wordpress.org/support/topic/php-error-on-seo-analyzer/#post-16647224)
 * Hello [@pierre_02](https://wordpress.org/support/users/pierre_02/),
 * Thank you for contacting Rank Math. We’re sorry to hear that you are having issues
   with the SEO Analyzer.
 * We have taken note of this issue and will be working on a fix for it. In the 
   meantime, you can use the following temporary workaround to get the SEO Analyzer
   working again:
 * Open the file `/wp-content/plugins/seo-by-rank-math/includes/modules/seo-analysis/
   views/graphs.php` and **delete line number 68**: `<?php $this->display_serp_preview();?
   >`. After that, you should be able to use the SEO Analyzer again.
 * Hope this helps. Please let us know if you have any other questions

Viewing 1 replies (of 1 total)

The topic ‘php error on SEO Analyzer’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-error-on-seo-analyzer/#post-16647224)
 * Status: resolved