http://drupal7.thruhere.net/forum gives me the following errors...
* Notice: Undefined property: stdClass::$depth in include() (line 51 of /var/www/drupal7/modules/forum/forum-list.tpl.php).
* Notice: Undefined property: stdClass::$depth in include() (line 56 of /var/www/drupal7/modules/forum/forum-list.tpl.php).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
http://drupal7.thruhere.net/forum/0 gives me the following errors...
* Notice: Undefined variable: forum_term in forum_forum_load() (line 764 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Trying to get property of non-object in forum_forum_load() (line 764 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in forum_forum_load() (line 769 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in advanced_forum_page() (line 36 of /var/www/drupal7/modules/advanced_forum/includes/core-overrides.inc).
* Notice: Undefined property: stdClass::$tid in advanced_forum_page() (line 66 of /var/www/drupal7/modules/advanced_forum/includes/core-overrides.inc).
* Notice: Undefined property: stdClass::$depth in include() (line 51 of /var/www/drupal7/modules/forum/forum-list.tpl.php).
* Notice: Undefined property: stdClass::$depth in include() (line 56 of /var/www/drupal7/modules/forum/forum-list.tpl.php).
* Notice: Undefined property: stdClass::$tid in forum_menu_local_tasks_alter() (line 170 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in forum_menu_local_tasks_alter() (line 185 of /var/www/drupal7/modules/forum/forum.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
http://drupal7.thruhere.net/forum/1 gives me the following errors...
* Warning: include(/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: include(): Failed opening '/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: include(/var/www/drupal7/modules/advanced_forum/advanced-forum-topic-list-outer-view.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: include(): Failed opening '/var/www/drupal7/modules/advanced_forum/advanced-forum-topic-list-outer-view.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
I am able to add forums. I can add, edit, and reply to forum subjects. Other then errors from my prospective it looks and works fine.
Comments
Comment #1
DigOurGame CreditAttribution: DigOurGame commentedSorry for double post. I could not edit last.
Clicking the active topics I get the following errors and no listing...
* Notice: Undefined index: id in views_plugin_display->get_handlers() (line 719 of /var/www/drupal7/modules/views/plugins/views_plugin_display.inc).
* Notice: Undefined index: id in views_plugin_display->get_handlers() (line 719 of /var/www/drupal7/modules/views/plugins/views_plugin_display.inc).
* Notice: Undefined index: teaser in _template_preprocess_advanced_forum_topic_list_view() (line 54 of /var/www/drupal7/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
* Notice: Undefined index: teaser in _template_preprocess_advanced_forum_topic_list_view() (line 54 of /var/www/drupal7/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
* Warning: include(/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: include(): Failed opening '/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
clicking new and updated tab I get the following errors and no listings....
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
clicking the unanswered tab I get the following errors and no listings...
* Warning: include(/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: include(): Failed opening '/var/www/drupal7/modules/advanced_forum/includes/advanced-forum-topic-list-view.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in theme_render_template() (line 1234 of /var/www/drupal7/includes/theme.inc).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
Hope this helps again sorry for the double post.
Comment #2
Freshy88 CreditAttribution: Freshy88 commentedWas this from an upgrade from a previous version, or a clean install (ie. drupal + advance forum install?)
Not sure if there's an upgrade path being supported currently...considering it's still dev.
I'm about to do a fresh install and jump into the latest version will get back to here with results.
Comment #3
DigOurGame CreditAttribution: DigOurGame commentedFresh install Advanced Forum 7.x-2.x-dev (2011-Jan-24)
Sorry rookie at this in 7x. Troky gave me further instruction.
Here is an up date;
http://drupal7.thruhere.net/forum give me...
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
http://drupal7.thruhere.net/forum/0 fives me...
* Notice: Undefined variable: forum_term in forum_forum_load() (line 764 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Trying to get property of non-object in forum_forum_load() (line 764 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in forum_forum_load() (line 769 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in advanced_forum_page() (line 36 of /var/www/drupal7/modules/advanced_forum/includes/core-overrides.inc).
* Notice: Undefined property: stdClass::$tid in advanced_forum_page() (line 66 of /var/www/drupal7/modules/advanced_forum/includes/core-overrides.inc).
* Notice: Undefined property: stdClass::$tid in forum_menu_local_tasks_alter() (line 170 of /var/www/drupal7/modules/forum/forum.module).
* Notice: Undefined property: stdClass::$tid in forum_menu_local_tasks_alter() (line 185 of /var/www/drupal7/modules/forum/forum.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
http://drupal7.thruhere.net/forum/1 gives me...
Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
Clicking the active, new, and unanswered tabs gives me....
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
* Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /var/www/drupal7/modules/chain_menu_access/chain_menu_access.module).
No errors when creating new post...
I get these when replying to a post...
* Notice: Undefined variable: links in quote_comment_view() (line 86 of /var/www/drupal7/modules/quote/quote.module).
* Notice: Undefined variable: links in quote_comment_view() (line 86 of /var/www/drupal7/modules/quote/quote.module).
* Notice: Undefined variable: links in quote_comment_view() (line 86 of /var/www/drupal7/modules/quote/quote.module).
* Notice: Undefined variable: links in quote_comment_view() (line 86 of /var/www/drupal7/modules/quote/quote.module).
Again hope this helps.
Comment #4
troky CreditAttribution: troky commentedFixed notices connected to AF, but it seems this is core forum bug since I get those notices while AF disabled.
Not AF errors as I can see.
Comment #5
DigOurGame CreditAttribution: DigOurGame commentedGreetings,
Another rookie mistake I made. I did not unchecked af to see if I was still getting them. Sorry.
Comment #6
gvc CreditAttribution: gvc commentedThis error occurs on clicking the Forums link of Advanced Forums, it's on the latest Dev version.
Notice: Undefined variable: forum_term in forum_forum_load() (line 764 of /var/www/modules/forum/forum.module).
Notice: Trying to get property of non-object in forum_forum_load() (line 764 of /var/www/modules/forum/forum.module).
Notice: Undefined property: stdClass::$tid in forum_forum_load() (line 769 of /var/www/modules/forum/forum.module).
Comment #7
troky CreditAttribution: troky commentedLooks like core forum issue to me. I saw that before but can't remember how to reproduce it.
Comment #8
DeweyOxberger CreditAttribution: DeweyOxberger commentedI have a setup that reproduces some of these errors. It doesn't use AF at all. It appears to be an issue that pops up when you have a View that replaces forum/%.
troky - have you created an issue for this? (It could be a forum or views issue, I'm not smart enough to know which).
Comment #9
troky CreditAttribution: troky commentedNope... I can't open an issue if I can't reproduce this error(s).
Comment #10
SolitaryGround CreditAttribution: SolitaryGround commentedI got the same errors as DigOurGame using Advanced Forum with Drupal 7, fresh installation.
There were no errors untill I added content and changed the theme to naked. It seems not able to load any forum subjects. I can't access my forum subjects through the forum when using Advanced Forum.
I tried to switch back to blue lagoon, I still got the same errors.
After a few minutes I decided to disable AF because of the errors. Later I put the module back with Blue Lagoon and there were no errors.
I tried to reproduce the errors by doing the same actions related to Advanced Forum again, no errors occured.
The only action I didn't reproduce is trying to translate forum parts.
It looks like disabling and enabling Advanced Forum works for now.
Comment #11
alpritt CreditAttribution: alpritt commentedSteps to reproduce #6:
- Clean Drupal 7 download (minimal profile)
- Enable core forum module
- Go to example.com/forum/0
I get the following notices at this point:
So that part is obviously the fault of the core forum module as mentioned above. But let's see what advanced forum does when enabled:
- Enable advanced forum
- Go to example.com/forum/0
I get the following notices:
So enabling advanced forum actually gets rid of some notices.
The negative is that Advanced Forum creates a link to that notice ridden and useless /forum/0 page on the /forum page. It is using the 'forum' vocabulary itself as as a container, when no containers (i.e. terms within the forum vocabulary) have yet been set. If you DO add a container, the fake container disappears. Moreover it takes the rather unfriendly description of the 'forum' vocabulary ('Forum navigation vocabulary') and presents it as a description of the forums to the end user.
For my purposes I'm going to just override the template and remove the link (not that I can get that to work at the moment, but perhaps I just don't understand the weird things Advanced Forum is doing with altering the theme registry).
Anyway, I wonder if it would be a good idea to not have that fake container page and only display a link and another page if the forums are within a proper container. Which is similar to how it is in the core forum module.
In any case, we still need to check if there is an issue for the notices caused by core forum.
Comment #12
alpritt CreditAttribution: alpritt commentedAlso of related note, advanced forum is implementing hook_menu_alter and doing this:
Yet it provides an override of the forum_forum_load function (advanced_forum_forum_load()). But that isn't being used here. Not sure what the thinking is behind that (perhaps there should be a comment in the code)? In any case, the notices are replicated in the overridden function too.
Comment #13
troky CreditAttribution: troky commentedcore forum_forum_load() is called at least once from forum_menu_local_tasks_alter in forum.module and I couldn't find proper way to override it. If you find the way, let me know.
Comment #15
RandyT CreditAttribution: RandyT commentedI believe this is NOT fixed as I am still seeing the error in new clean install of Drupal 7.
Just posting to reopen.
Comment #16
troky CreditAttribution: troky commentedWhat error? Errors on "forum/0" page are core forum issue.
Comment #17
cherokeedude CreditAttribution: cherokeedude commentedI'm receiving this on a fresh install... And only when I enable AF.
I couldn't find a fix for this, did I miss it? Rookie here.
Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /Applications/MAMP/htdocs/auditvision/modules/chain_menu_access/chain_menu_access.module).
Warning: array_splice() expects parameter 3 to be long, string given in _chain_menu_access_callback() (line 59 of /Applications/MAMP/htdocs/auditvision/modules/chain_menu_access/chain_menu_access.module)
edit: nvm. Sounds like this is a problem with core? Is there a link for this error I can track?
Comment #18
4am CreditAttribution: 4am commentedI turned on AF and everything was fine until I opened the admin control panel, then these errors appear on every page load and every admin page.
Notice: Undefined variable: forum_term in forum_forum_load() (line 764 of /var/www/modules/forum/forum.module).
Notice: Trying to get property of non-object in forum_forum_load() (line 764 of /var/www/modules/forum/forum.module).
Notice: Undefined property: stdClass::$tid in forum_forum_load() (line 769 of /var/www/modules/forum/forum.module).
UPDATE: Clean install, no forum, no problem. Activate Forum...no problem! Add a link to "forum/" in my main menu? Errors. Something to do with linking the forum from the menus? I'm way to much of a n00b to tell you why this happens but that's how I got rid of the error. The Navigation pane still has a link to the forums which works just fine. Weird!
Comment #19
MichellePeople keep posting on this without setting it active. I just happened to notice it because every once and a while I take an unfiltered look at the queue. Setting it active since people are still having issues, though having an issue per error would really be better than lumping it all into one like this.
Michelle
Comment #20
troky CreditAttribution: troky commentedThis is core forum issue. AF doesn't use forum_forum_load() function.
I don't see any of AF files in above errors...
Comment #21
MichelleIf it's not an AF issue, feel free to re-close it. I only made it active because 3 people posted on it after it was closed and closed issues are normally hidden from view.
Michelle
Comment #22
Fidelix CreditAttribution: Fidelix commentedWas this reported on core?
Comment #23
troky CreditAttribution: troky commentedForgot to close this. It is core forum issue.
Comment #24
pgough CreditAttribution: pgough commentedwhy is this closed?
how is it an issue with the core module when the error is with advanced forum and it doesn't exist otherwise?
has anyone been able to resolve this issue?
Comment #25
pgough CreditAttribution: pgough commentedComment #26
troky CreditAttribution: troky commentedWhat is your particular issue/problem? Paste your notices/warnings and write down versions of core, AF, ctools, views and any other related module.
Comment #27
troky CreditAttribution: troky commentedNo problems, obviously.
Comment #28
unegro CreditAttribution: unegro commentedHey there!
I got the same problem with an upgrade...
I was using 6.20 and upped to 7 i'm now using Advanced Forum Version 7.2.0-alpha1
I disabled all options in Advanced Forum config, but the issue still happens.
I am sure it's an advanced forum problem.
here the error:
•Notice: Trying to get property of non-object em _template_preprocess_advanced_forum_topic_list_view() (linha 80 de /home/educacao/public_html/sites/all/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
•Notice: Trying to get property of non-object em _template_preprocess_advanced_forum_topic_list_view() (linha 80 de /home/educacao/public_html/sites/all/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
•Notice: Trying to get property of non-object em _template_preprocess_advanced_forum_topic_list_view() (linha 80 de /home/educacao/public_html/sites/all/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
Thanks
Comment #29
troky CreditAttribution: troky commentedUse latest 7.x-dev version.
Comment #30
unegro CreditAttribution: unegro commentedthanks, troky
As on your coment #29
Worked.
Comment #31
unegro CreditAttribution: unegro commentedComment #32
pgough CreditAttribution: pgough commentedI am using the latest dev version and am getting this error: -
Fatal error: Call to undefined method stdClass::preview() in /home/pgoughy/public_html/buzzerbeater.com.au/modules/advanced_forum/includes/core-overrides.inc on line 224
Comment #33
troky CreditAttribution: troky commentedwhat about views/ctools versions?
Comment #34
pgough CreditAttribution: pgough commentedupgrading ctools seems to have fixed the issue.
thanks
Comment #35
unegro CreditAttribution: unegro commentedAfter upgrading advanced forum to the new version 7.x.2.0-beta1 I got the error again:
Notice: Trying to get property of non-object em _template_preprocess_advanced_forum_topic_list_view() (linha 82 de /home/educacao/public_html/sites/all/modules/advanced_forum/includes/template_preprocess_advanced_forum_topic_list_view.inc).
This bug needs more attention.
thanks
Comment #36
troky CreditAttribution: troky commentedI can't reproduce this error...
What views/ctools versions do you use? Cleared cache twice?
Above file/code hasn't been altered for a long time so I don't know what caused your problem.
Comment #37
unegro CreditAttribution: unegro commentedI am using the latest build of views (7.x-3.0-rc1) and ctools (7.x-1.0-rc1). Cleaned the cache more than 2 times. If you search using the error you will see there are many sites with this error. I think it's a priority error. Look this:
http://www.google.com.br/search?q=Trying+to+get+property+of+non-object+e...
Needs Reviews
Comment #38
troky CreditAttribution: troky commentedI just can't reproduce this on 3 different sites.
You are getting above notice because drupal's taxonomy_term_load function doesn't return name of the forum where shadow topic is moved.
Please, don't change issue priority because it won't help you much.
Comment #39
MichelleI don't have any AF errors showing up on my D7 site.
Michelle
Comment #40
2ifx.com CreditAttribution: 2ifx.com commentedWarning: include_once(sites/all/modules/advanced_forum/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 510 of /var/www/vhosts/***/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_forum/includes/theme.inc' for inclusion (include_path='.:') in include_once() (line 510 of /var/www/vhosts/**/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once(sites/all/modules/advanced_forum/includes/style.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 513 of /var/www/vhosts/***/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_forum/includes/style.inc' for inclusion (include_path='.:') in include_once() (line 513 of /var/www/vhosts/****/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once(sites/all/modules/advanced_forum/includes/core-overrides.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 516 of /var/www/vhosts/***/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_forum/includes/core-overrides.inc' for inclusion (include_path='.:') in include_once() (line 516 of /var/www/vhosts/***/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once(sites/all/modules/advanced_forum/includes/mark-read.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 519 of /var/www/vhosts/****/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
Warning: include_once() [function.include]: Failed opening 'sites/all/modules/advanced_forum/includes/mark-read.inc' for inclusion (include_path='.:') in include_once() (line 519 of /var/www/vhosts/***/httpdocs/portal/sites/all/modules/advanced_forum/advanced_forum.module).
I get that error on mine on random pages, if i refresh they disapear. any ideas?
Comment #41
troky CreditAttribution: troky commentedIt looks like installation problem to me.
Comment #42
2ifx.com CreditAttribution: 2ifx.com commentedi did a uninstall. reinstalled. both latest versions.
error came back randomly. what does (include_path='.:') mean?
i checked all the files are there. i did changed the drupal directory. a simple refresh and the error disappears.
it was working fine before i changed the directory :S
Comment #43
troky CreditAttribution: troky commentedPlease open new support request issue because this one is total mess and off topic.
Comment #44
2ifx.com CreditAttribution: 2ifx.com commentedok we posted a new topic here and provided a patch.
We managed to fix it, but still dont understand why it was happening:
http://drupal.org/node/1270710
Comment #45
ssace CreditAttribution: ssace commentedI have same problem as #35. It is only happening on a few forums when viewing the topic list.
I discovered it only happens when there is a Poll (content type) among the topic list. There is no error as long as there are no Poll's in the forum topic list view. I deleted the poll and error went away for that topic list view.
I looked further into the Polls and found an error when trying to edit a poll. Now I have to dig further into why Polls are giving edit errors: Undefined index: required in field_default_form() (line 75....
As for Advanced Forum displaying the error, not sure if it is because there is a further problem with Polls or if AF just doesn't like Polls in the forum list. (frankly, not sure why polls are showing in the forum list anyway).
Comment #46
Yuri CreditAttribution: Yuri commentedI have the advice to close this thread since it contains a lot of different (unsolved) issues and its title is too general to be efficient. Let's open new posts for each issue.
I have the same as #35 with the latest dev. Is there already a separate post for this issue?
Comment #47
ssace CreditAttribution: ssace commentedSee #24 here:
http://drupal.org/node/931512#comment-5707898
Fixed it for me.
Comment #48
jaypabs CreditAttribution: jaypabs commentedI have the same problem with @unegro at #35. I'm using v2.0
Any solution to this problem?