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.
Installed new version and now I've been getting these reports
Notice: Undefined property: stdClass::$new_posts_path in theme_advanced_forum_subforum_list() (line 141 of /home/shakespe/public_html/www.writersworkroom.org/sites/all/modules/advanced_forum/includes/theme.inc).
Help on this would be appreciated.
Comments
Comment #1
troky CreditAttribution: troky commentedStrange. Can you do some debugging and dump $subforum object before line 141?
Comment #2
pinoylang CreditAttribution: pinoylang commentedWhat exactly is $subforum object?
I tried pasting just $subforum it came up with
Parse error: syntax error, unexpected T_ELSE in /home/shakespe/public_html/www.writersworkroom.org/sites/all/modules/advanced_forum/includes/theme.inc on line 141
So I don't think that was what I was supposed to do.
Comment #3
pinoylang CreditAttribution: pinoylang commentedI don't know if this will help but when you click on the subforum "new" link, instead of taking you to the post it takes you to the home page.
Comment #4
pinoylang CreditAttribution: pinoylang commentedstill waiting... anyway I can go back to the old version?
Comment #5
troky CreditAttribution: troky commentedI can't reproduce problem you have so I can't debug it.
Try clean Drupal/AF install and check if problem persists.
Comment #6
rebelll CreditAttribution: rebelll commentedI think there is problem when you have more forums, subforums and subforums for subforums :). I also saw such notice and second thing - there is problem with main forum table and column last comments when you have forum > subforum > subforum. There is no last comments.
Comment #7
graograman CreditAttribution: graograman commentedI have also encountered this issue (Drupal 7.34, Advanced Forum 7.x-2.4). How can I provide more information?