warning after editing/saving a page node

LoongFei - July 2, 2007 - 13:27
Project:OG Galleries
Version:5.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Reasonably fresh install of Drupal 5.1. (Rebuilt from scratch this past weekend. Included og_galleries for the first time this weekend.)
Set up og_galleries per the docco after running into the issue where it wouldn't work "out of the box".
Galleries appear to be okay, although I haven't tested that functionality yet. (This is a staging system, so an expedient resolution isn't critical.)

However, whenever I edit a node (in this case, a simple page node) and hit Submit, the new page does come up but at the top of the page it says:

"warning: Illegal offset type in /var/www/drupal-5.1/includes/common.inc on line 1310."

I went and disabled the OG Gallery module and retried the above page edit. Warning gone, everything apparently back to normal.

I re-enabled the OG Gallery module and retried the above page edit. The warning returned.

I disabled the OG Gallery module, then went to the 'uninstall' link on the modules page and checked the box to completely uninstall OG Galleries. Re-tried the page edit and it was fine.

I reinstalled the OG Gallery module and retried the above page edit. The warning returned.

If it matters, here's a listing of my modules dir:

acl
adminblock
backup
bbcode
bbcode_wysiwyg
buddylist
calendar
captcha
cck
cck_ipaddr
commentmail
comment_mover
content_access
contentblocker
date
dhtml_menu
event
fasttoggle
image
jstools
og
og_galleries
phpfreechat
privatemsg
quick_child
quote
simplemenu
subscriptions
tinymce
troll
uieforum
update_status
views
wymeditor

(Not all of the above have been enabled.)

Let me know if I can provide any further info to help resolve this issue.

#1

LoongFei - July 5, 2007 - 18:54

So I took another look around my site config, in particular the Error Reporting config page.

I'd had Error Reporting set to "Write errors to the log and to the screen", so I changed it to "Write errors to the log".

That seems to have done the trick, at least cosmetically. It still leaves me somewhat concerned about the underlying cause, whatever that might be.

#2

Bruce Gordon - July 13, 2007 - 02:19

I have exactly the same problem. OG Galleries 5.x-1.7. In my case when I update a taxonomy entry I get the error. Disabling OG_Galleries removes the error. PHP 5.2.1. Apache 1.3.

#3

LoongFei - August 31, 2007 - 13:03

No joy here.

I ran into this again while trying to update a page (after upgrading to Drupal 5.2).

I tried disabling OG Galleries and Image Gallery and removing the taxonomy words I was trying to add, but still get this error. Technically the error is:

Validation error, please try again. If this error persists, please contact the site administrator.

but I've confirmed in the Recent Log Entries that this issue is one and the same.

Still looking for a solution/fix.

#4

LoongFei - August 31, 2007 - 13:15

So I came at this from another vector.

As an aside, the original URL path settings was set to "getting_started". So what I did was copy the content of the original page and created a new page with exactly that content. I even added a couple of Keywords, just to prove to myself that the Taxonomy wasn't directly to blame.

I saved the new page. Successfully.

Then I deleted the original page in order to free up the URL path of "getting_started", then I went ahead and added this specific URL path to the newly created page. Saved the change without issue.

So what's really going on here?

 
 

Drupal is a registered trademark of Dries Buytaert.