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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| drush_watchdog.patch | 427 bytes |

#1
Fixes problem for D7 but introduces error for d6, no?
#2
#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
Committed. thanks.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.