Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Get error message when trying to preview new post

edited November 2009 in Vanilla 2.0 - 2.8
Hello;

When I try to preview a new post the Vanilla forum here gives me an error message. It's not supposed to do that I don't think.

Here's what it says:

//--------------------------------
# FATAL ERROR IN: PHP.ErrorHandler(); "Undefined property: stdClass::$InsertUserID" LOCATION: /srv/www/vanillaforumsorg/applications/vanilla/views/post/preview.php > 6: > 7:

* > 8: 9: $Author = new stdClass(); >>> 10: $Author->UserID = $this->Comment->InsertUserID; > 11: $Author->Name = $this->Comment->InsertName; > 12: $Author->Photo = $this->Comment->InsertPhoto; > 13: echo UserPhoto($Author); > 14: echo UserAnchor($Author); BACKTRACE: [/srv/www/vanillaforumsorg/applications/vanilla/views/post/preview.php 10] PHP::ErrorHandler(); [/srv/www/vanillaforumsorg/library/core/class.controller.php 458] PHP::include(); [/srv/www/vanillaforumsorg/library/core/class.controller.php 678] Gdn_Controller->FetchView(); [/srv/www/vanillaforumsorg/library/core/class.pluggable.php 192] Gdn_Controller->xRender(); [/srv/www/vanillaforumsorg/library/core/class.pluggable.php 192] Gdn_Pluggable->__call(); [/srv/www/vanillaforumsorg/applications/vanilla/controllers/post.php 135] PostController->Render(); [/srv/www/vanillaforumsorg/library/core/class.dispatcher.php 220] PostController->Discussion(); [/srv/www/vanillaforumsorg/index.php 41] Gdn_Dispatcher->Dispatch(); JimTrail
* 11:32am
//--------------------------------

Can anybody tell me what's wrong?
Sign In or Register to comment.