* notice: Undefined variable: output in modules\vocabindex\vocabindex.module on line 335.
* notice: Undefined index: submitted in includes\form.inc on line 1027.
* notice: Undefined index: vocabindex_1_enabled modules\vocabindex\vocabindex.admin.inc on line 239.
* notice: Undefined property: stdClass::$id in modules\vocabindex\vocabindex.view.inc on line 272.
* notice: Undefined offset: 0 in modules\vocabindex\vocabindex.view.inc on line 147.
* notice: Use of undefined constant LANGUAGE_LTR - assumed 'LANGUAGE_LTR' in modules\vocabindex\vocabindex.view.inc on line 554.

try the module with drupal-6.x-dev to see the errors

CommentFileSizeAuthor
#4 php_notices_00.patch4.58 KBxano

Comments

xano’s picture

I don't see any errors, although my php.ini tells me error reporting is set to E_ALL.

/me is going to look for a way to display these notices.

pasqualle’s picture

just try the module with drupal6-dev. The stable Drupal release hides the php notices.
see #291026: change E_NOTICE to warning and allow selection of error level

xano’s picture

Ah, thanks a lot :)

xano’s picture

Assigned: Unassigned » xano
Priority: Normal » Minor
Status: Active » Needs review
StatusFileSize
new4.58 KB

The attached path fixes most of the mentioned notices and some others than haven't been mentioned here as well. I have been unable to find the cause of notice: Undefined index: submitted in includes\form.inc on line 1027. and I haven't been able to locate notice: Undefined property: stdClass::$id in modules\vocabindex\vocabindex.view.inc on line 272. at all.

xano’s picture

Status: Needs review » Fixed

Fixed and committed to all branches.

xano’s picture

Status: Fixed » Active

There seem to be a lot more notices, especially when viewing alphabetical VIs.

xano’s picture

Status: Active » Fixed

I have fixed all notices I could find.

Committed to all branches (D5 too).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

xano’s picture

Assigned: xano » Unassigned