Sorry you are having trouble dan12625 .
I can not reproduce this error when a user is logged into front end.
The plugin uses this code to get the logged in user:
public function init() {
$this->user = Auth::getUser();
.... }
So I can not figure out how it is possible that you are having an issue here:
dan12625 said:
I am trying to use the uploader component on the site front end and getting the titled error.
In:
/.../plugins/kurtjensen/privatefiles/components/Uploader.php line 190
public function onSave() {
$this->myfile->user_id = $this->user->id;
Files will not upload. Am I missing a component on the page?
What does it say the error is?