Uncaught Typeerror on Inputs page

I've managed to get Emoncms up and running on my 1and1 shared hosting. I've set up my Raspberry Pi emonbase which is successfully sending data from the nodes to emoncms. So far so good.

On the inputs page I can rename the inputs, but if I click on the spanner icon to set up input processing, nothing happens.

I'm using Chrome so I've pressed F12 and there is an error 'Uncaught TypeError: cannot read property 'split' of undefined'.

The error is occurring at line 207 of the file input_view.php

I'm not very experienced in coding PHP so I wondered if anyone else had had a similar issue? I've searched the forum but not found anything.

Thanks in advance

Stuart

stureid's picture

Re: Uncaught Typeerror on Inputs page

I changed line 207 of input_view.php to:

if (typeof i.processlist !== 'undefined' && i.processlist!="")

which seems to have resolved this issue for now.

 

georcon's picture

Re: Uncaught Typeerror on Inputs page

I was about to post the same error (I had no luck debugging the code).

 

This worked for me too.

sumnerboy's picture

Re: Uncaught Typeerror on Inputs page

Yep - this one got me too. Thanks for the fix! Spent over an hour trying to figure out what was wrong!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.