question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'activateModule' of null

See original GitHub issue

There have been a couple of Site Kit users who reported the below error, unknown at what stage so far, troubleshooting ongoing: Cannot read property 'activateModule' of null

Steps to reproduce

Unknown so far

Additional Context

  • Latest occurrence is with Site Kit 1.32.0. this site has no publicly accessible REST endpoints (awaiting further insights)

Insights & Troubleshooting Checks performed

  • Health Check & Troubleshooting plugin check
  • Front end check (mixed content, minified content, combined JS)
  • Incognito mode - the same occurs
  • Checked users Site Health info, no obvious cause
  • Additional .htaccess rules applied - True
  • Confirmed no modification of Site Kit placed snippet
  • Uninstalled and reinstalled plugin
  • User confirmed no “Critical errors” in their Site Health status
  • Attempted setup/viewing dashboards from another device
  • Temporary disabled WAF rules at host level - including ModSecurity
  • Checked site setup and dashboard from another WordPress site on the same hosting platform
  • Reset Site Kit (on the SK service)
  • Reset previous site records (on the SK service)
  • Disconnected Site Kit
  • Disconnected impacted service and connected once more
  • Checked does the same occur from another admin users account
  • Checked setup / viewing dashboards from another WordPress administrator account
  • Modified WordPress site settings (switching https > http, logging in once once more & reverting to https)
  • Reviewed error logs
  • Reviewed XHR requests

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

Visual Regression Changes

QA Brief

Changelog entry

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
bethanylangcommented, Jun 7, 2021

@jamesozzie Assigned to you as you were waiting for more details from other users.

1reaction
jamesozziecommented, Jun 1, 2021

@bethanylang I’m awaiting additional insights from impacted users in order to try and recreate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property of null - iDiallo
This will result in Uncaught TypeError: Cannot read property 'value' of null . The reason will be that the element with id input...
Read more >
Site Kit encountered an error (clearPermissionScopeError)
When I install and activate the plugin, I'm getting the following error: Cannot read property 'clearPermissionScopeError' of null in PermissionsModal in ...
Read more >
Error: Cannot read property of null - Stack Overflow
Cannot read property 'start' of null. Use this, it will work: getInitialState() { return { start: false } },.
Read more >
Cannot read properties of null (reading '0') #4837 - GitHub
New report of 'Cannot read properties of null (reading '0')' error message displayed in Site Kit. This has been reported twice previously ...
Read more >
Sitefinity - Bugs & Issues - Progress Community Archive
Cannot read property 'AppPath' of undefined, Last post by gauntt@upenn.edu ... Backend pages Null Reference Exception, Last post by Community Admin
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found