I recently upgraded my D5 installation to D6. The integration has gone well and Gallery is working. All of the images display, the theme is integrated, and I can access/modify all of the settings. The one problem I have is when trying to add or edit a node (whether or not a Gallery image is involved is irrelevant).
When adding/editing any node type, Drupal crashes and presents this message:
Fatal error: Unsupported operand types in /home//public_html/includes/common.inc on line 1265
This same error occurs when I attempt to edit an input format as well.
I have isolated this to Gallery. When I disable the Gallery module, node functionality returns.
Versions:
* Gallery2.3s nightly build from February 14th
* Gallery 6.x-1.x-dev (2008-Feb-19)
* Drupal 6.0
Thanks for any insight you can provide.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | gallery_url_bug.patch | 1.02 KB | kiz_0987 |
Comments
Comment #1
profix898 commentedI just tried on my dev install and adding/editing nodes works fine for me. Do you have any additional modules installed? Does it make any difference if you disable GalleryMenu and/or URL Rewrite?
Comment #2
ja_ro_no commentedI tried the following:
1. Disable GalleryMenu - no impact on issue
2. Disable Gallery URL rewrite - no impact
Comment #3
profix898 commentedI still cant reproduce and nobody else reported this problem.
Comment #4
ja_ro_no commentedIs there any additional information I can give you or something I can try? I've looked at common.inc but not being a developer don't know what to make of it. Any assistance is appreciated.
Comment #5
seeayegee commented"I've looked at common.inc but not being a developer don't know what to make of it."
I'm having the same problem with Gallery 2.3 & Drupal 6. That line in 'common.inc' is 'function url'. So something is calling that function incorrectly?
Disabling the Gallery modules fixes this problem for me also.
Comment #6
Anonymous (not verified) commentedThis happens when you add the gallery filter to any other filter ... same problem and can't remove the filter without going through the database. Blah.
Fatal error: Unsupported operand types in /var/www/includes/common.inc on line 1265Comment #7
Anonymous (not verified) commentedComment #8
profix898 commentedThanks for the pointer, boydjd! After enabling the G2 filter I was able to reproduce the problem. I simply missed to update a url() call to the new D6 syntax on the help page for G2 filter. Bugfix committed.
Comment #9
kiz_0987 commentedA similar Unsupported operand types error can be produced on install due to bad url args. Patch included to fix.
Comment #10
profix898 commentedThanks. Hope, I didnt miss more of them ...
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.