Fix failure to set error log path in SPForm snippet.

Also fixes a PHP notice-level error caused by a reference to the nonexistent variable `$spformPath`.