Download & Extend

Fatal error when deleting comment

Project:xapian
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Jeremy
Status:closed (fixed)

Issue Summary

Fatal error: Cannot use object of type stdClass as array xapian/xapian.module on line 611

See patch.

AttachmentSize
obj.patch574 bytes

Comments

#1

confirming error:
Fatal error: Cannot use object of type stdClass as array in /var/www/sites/forum.example.de/modules/xapian/xapian.module on line 611

#2

THe patch isn't good, you need to check whether you get an array or an object...

Crufty old API...

#3

Status:needs review» needs work

#4

Assigned to:catch» Jeremy
Status:needs work» fixed

I just deployed this module on KernelTrap and ran into the same bug. Fix committed.

#5

Status:fixed» closed (fixed)

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

nobody click here