rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

E_ERROR Uncaught Error while opening analytics details #146

Open liquiem opened 1 year ago

liquiem commented 1 year ago

Screencast:

https://user-images.githubusercontent.com/7579306/213443278-0fa0c491-bb60-4d3a-8005-119f11e3e0d4.mov

Error:

Uncaught Error: Attempt to assign property "total" on null in /wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php:152 Stack trace:

0 files/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/rest/class-rest.php(180): RankMath\Analytics\Summary->get_optimization_summary()

1 /wp-includes/rest-api/class-wp-rest-server.php(1171): RankMath\Analytics\Rest->get_analytics_summary()

2 /wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request()

3 /wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()

4 /wp-includes/rest-api.php(410): WP_REST_Server->serve_request()

5 /wp-includes/class-wp-hook.php(308): rest_api_loaded()

6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()

7 /wp-includes/plugin.php(565): WP_Hook->do_action()

8 /wp-includes/class-wp.php(399): do_action_ref_array()

9 /wp-includes/class-wp.php(780): WP->parse_request()

10 /wp-includes/functions.php(1332): WP->main()

11 /wp-blog-header.php(16): wp()

12 /index.php(17): require('...')

13 {main}

thrown

WP Version 6.1.1 Rank Math SEO 1.0.106 Rank Math SEO PRO 3.0.28