Notice: Undefined index ...

Question:

When I attempt to use the Centova Cast web interface and/or the installer, I see messages to the effect of:

Notice: Undefined index: lightweight in /path/to/centovacast/include.php
on line 0

What does this mean and how do I fix it?

Answer:

This means that your PHP configuration is set to use an abnormally high error reporting setting, and thus it is displaying debug notices which should normally be suppressed. Edit your php.ini file and change the error_reporting line as follows:

error_reporting = E_ALL & ~E_NOTICE

Then re-start your web server and try again.

Note that the error_reporting value described above is actually the default value shipped by the PHP developers, but for some reason, some Linux vendors have chosen to enable debug notices by default. Making the above change will return your error_reporting setting to the value intended by the PHP developers.