Mobile Web Capture error "Uncaught TypeError: Cannot read properties of null"

Symptoms

When attempting to run Mobile Web Capture, the following error occurs:

Uncaught TypeError: Cannot read properties of null (reading 'style')

Uncaught TypeError: Cannot read properties of null (reading 'init')

mceclip0.png

Cause

This error usually occurs if the web-capture.js script is embedded into the <head> element of the HTML page instead of <body>.

Resolution

Check that the following <script> element is placed inside the <body> element:

<script type="text/javascript" src="libs/js/web-capture.js"></script>

If necessary, move this <script> element from <head> into <body>.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed