Download & Extend

Watchdog show command raising fatal error

Project:Drush
Version:All-versions-5.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

#2

Status:active» needs work

#3

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

Status:needs work» fixed

Committed. thanks.

#5

Status:fixed» closed (fixed)

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