MyBB Community Forums

Full Version: $posthandler custom page?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I show inline error in the custom page?


require_once MYBB_ROOT."inc/datahandlers/post.php";

$thread_errors = "";
      $thread_errors = inline_error($errors);
	  
	  $posthandler->set_error($lang->tags);
				return false;
				
				
				echo $thread_errors;


Get an error: Call to a member function set_error() on a non-object in