2 edb Dec 08, 2007 12:58

Sorry. Should have mentioned.
I had upgraded from 2.1.0 to 2.2.0.
What's in this line?
$permalink = url_add_tail( $blogurl, '/'.$this->main_Chapter->get_url_path().$urltail );
?
Then somehow main_Chapter for the item list is not given somehow.
Please provide a way to reproduce this. I cannot reproduce it, by creating a new post, just by hitting "Save" and some test title.
If my assumption(s) above are correct, please add the following code just above line 211:
if( ! is_object($this->main_Chapter) )
{
echo debug_get_backtrace();
}
..and post the generated backtrace here. This will tell the code path leading to this error.
This is what I have for line 211:
case 'chapters':
$permalink = url_add_tail( $blogurl, '/'.$this->main_Chapter->get_url_path().$urltail );
break;
Tried adding the code you suggested to get the back trace. It didn't give me anything.
Akeldama wrote:
Tried adding the code you suggested to get the back trace. It didn't give me anything.
But you received the same error, just with a new line number (+4), right?
Yeah that's exactly what I got.
Please try my patch/new file from another thread (with a similar error): http://forums.b2evolution.net//viewtopic.php?p=64538#64538
Thanks for the suggestion. Alas that didn't fix the issue.
So I'm having the same exact issue on a blog I just set up for my wife. I've looked around this forum and haven't really found what I need (or if I did run across it I didn't know it was what I needed).
Anyway, I don't know where to start because I'm new at this, so feel free to treat me like a baby, etc.... I'd even be fine with name calling, and hate-posts as long as they also contained the information I need to get her ability to post back.
Thanks in advance,
Josh
JAKiewel please start a new thread for this. It technically can't be the same issue because Akeldama upgraded and you set up a new blog. So that's, you know, like ... different ;)
Oh and some helpful information will be stuff like what version of b2evolution you're running, have you had this problem since immediately right away or did it start after some sort of change you made? Did you change skins or add plugins or do any creative editing on any files? Also what kind of server your host is (windows or something reliable), and maybe stuff like php version on your server too. By the way a link to your blog will probably be way helpful too.
Hi Akeldama.
What version did you upgrade from and to? If this is something that happened in 2.1.0 I think no one will care because 2.2.0 is out as a "better beta". If this happened when you upgraded to 2.2.0 then it is an issue that needs to be understood. And corrected.
Thanks!