Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Impossible to create user

Lac Lac   ( User )

Commented 6 years ago

Hi,


I installed the last version with Softaculous (top)


I created a customer but if I check the checkbox 'create user' and confirm I have a error message.



It's very boring. It's impossible to create an user


 


I found a long in the folder : storage/logs/laravel.log


[2017-11-24 01:18:21] production.ERROR: exception 'ErrorException' with message 'Trying to get property of non-object' in /home/monsite/public_html/client/app/Http/Controllers/Incomes/Customers.php:127
Stack trace:
#0 /home/monsite/public_html/client/app/Http/Controllers/Incomes/Customers.php(127): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', '/home/monsite/...', 127, Array)
#1 [internal function]: App\Http\Controllers\Incomes\Customers->update(Object(App\Models\Income\Customer), Object(App\Http\Requests\Income\Customer))
#2 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)
#3 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('update', Array)
#4 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Incomes\Customers), 'update')
#5 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Route.php(160): Illuminate\Routing\Route->runController()
#6 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Router.php(572): Illuminate\Routing\Route->run()
#7 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#8 /home/monsite/public_html/client/vendor/santigarcor/laratrust/src/Laratrust/Middleware/LaratrustPermission.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#9 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(148): Laratrust\Middleware\LaratrustPermission->handle(Object(Illuminate\Http\Request), Object(Closure), 'update-incomes-...')
#10 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#11 /home/monsite/public_html/client/vendor/santigarcor/laratrust/src/Laratrust/Middleware/LaratrustPermission.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#12 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(148): Laratrust\Middleware\LaratrustPermission->handle(Object(Illuminate\Http\Request), Object(Closure), 'read-admin-pane...')
#13 /home/monsite/public_html/client/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))


[...]


 


Can you help me please ?


 


Note: It's maybe an other problem but for information I don't receive the mail too. In the setting it's phpmail, and phpmailer is enable on my server. So i don't understand too.


 


 

Denis Dulici   ( Admin )

Commented 6 years ago

Thanks Lac for reporting this problem. Here we've fixed it https://github.com/akaunting/akaunting/issues/96

Kevin Morrison   ( User )

Commented 6 years ago

Where is the fix? I dont use github so I dont know how to find what I need to fix this?


OK, I see this updated the version. Thing is I just downloaded this and installed it about an hour ago and this apparently was fixed yesterday. So how do I get version 1.1 and how do I install it? You really should update the download on your site so people get the latest version with the fix.

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions