Watchdog show command raising fatal error

azriprajwala - October 31, 2009 - 09:16
Project:Drush
Version:All-Versions-HEAD
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I am using drupal head, When I run the watchdog show command it is giving following error message.

Fatal error: Cannot use object of type stdClass as array in /path/to/theme.inc on line 792

I fixed this by doing small change in the drush code I attached patch file here.

AttachmentSize
drush_watchdog.patch427 bytes

#1

moshe weitzman - October 31, 2009 - 19:52

Fixes problem for D7 but introduces error for d6, no?

#2

moshe weitzman - October 31, 2009 - 19:52
Status:active» needs work

#3

azriprajwala - November 2, 2009 - 14:11

Hi moshe weitzman,

I checked with drupal-6.14 version. It is worked for me otherwise I could have put if condition to check the drupal version. What is the version you used to test?

#4

moshe weitzman - November 6, 2009 - 22:09
Status:needs work» fixed

Committed. thanks.

#5

System Message - November 20, 2009 - 22:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.