Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When Anonymous users and Admin users view created forum topics everything is fine. But when an Authenticated Users views a post I get this error:
Posted on: Fri, 02/29/2008 - 14:04
Fatal error: Unsupported operand types in /home/tulefog/public_html/beta/includes/common.inc on line 1435
Is this something other than Advanced Forums?
Comments
Comment #1
MichelleI don't know... It's in the l() function which advforum uses. The error message doesn't make a lot of sense, though. I've never used the 6.x version with anything except UID 1. Using it with one of the roles is one of the things I have to do before releasing it. Probably won't be until Sunday at the earliest.
Michelle
Comment #2
melodiesmaster CreditAttribution: melodiesmaster commentedI've tested this. It's not the authenticated users only. Problems lie in new topics. Users cannot see topics which are new to them. By the way Michelle, I don't know how my markasread function doesn't work. It returns no message. I think it is for that I use tables with prefix.
PS: my feature request: content management buttons in forum (like edit/delete/locktopic etc.)
Comment #3
MichelleMark as read isn't implemented yet in D6. I don't know about the new topics bit. The D6 port needs a lot more work/testing before it's ready for use.
Please make a separate issue for the feature request as it is unrelated to this issue.
Michelle
Comment #4
melodiesmaster CreditAttribution: melodiesmaster commentedI've done further test and now I have to correct my words. It's not the new topics. It is that authenticated user (including admin) can only see his/her own topics, though guests can see all.
Error returned:
Fatal error: Unsupported operand types in /home/username/public_html/includes/common.inc on line 1435
Comment #5
MichelleI can't reproduce this on my test site. Can any of you with this problem run devel backtrace and see where it's coming from?
Thanks,
Michelle
Comment #6
pobster CreditAttribution: pobster commentedIt's this; http://drupal.org/node/230714 (check for patch)
It's because Drupal 6.x has changed how l() is formatted, arguments are now supplied as an associative array; http://api.drupal.org/?q=api/function/l/6
Pobster
Comment #7
MichelleThat explains why I couldn't repro it. I didn't have the contact module enabled. Since privatemsg and buddylist aren't ported to 6, yet, that's the only bad link in there that would cause it.
Michelle