Fatal error when deleting comment

catch - June 26, 2008 - 19:56
Project:xapian
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Jeremy
Status:closed
Description

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

See patch.

AttachmentSize
obj.patch574 bytes

#1

maulwuff - July 8, 2008 - 06:08

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

killes@www.drop.org - July 8, 2008 - 09:18

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

Crufty old API...

#3

catch - July 8, 2008 - 09:32
Status:needs review» needs work

#4

Jeremy - July 8, 2008 - 12:50
Assigned to:catch» Jeremy
Status:needs work» fixed

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

#5

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.