hello
we are using software invoice Ninja but i am getting an error once i accepting TOS, after checking the error logs for more information in storage/logs i got this
This looks to be caused by a problem with the structure of your site's database:
---
[2018-12-05 00:48:57] [login to view URL]: ***Illuminate\Database\QueryException*** [42S22] : /home/ninja/public_html/ninja2/vendor/laravel/framework/src/Illuminate/Database/[login to view URL] [Line 647] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'accepted_terms_version' in 'field list' (SQL: update `users` set `updated_at` = 2018-12-05 00:48:57, `accepted_terms_version` = 1.0.1, `accepted_terms_timestamp` = 2018-12-05 00:48:57, `accepted_terms_ip` = [login to view URL] where `id` = 1) {"context":"PHP","user_id":1,"account_id":1,"user_name":"Mohamed Kasem","method":"POST","user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","locale":"en","ip":"[login to view URL]","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"accept_terms"} []
---
From that error in storage/logs/[login to view URL], the accepted_terms_version column is missing from the appropriate table.
can any one fix this issue
Hi,
I am new freelancing but I have 4+ years experience in Laravel, MySQL, Bootstrap, Jquery, Javascript, Apache/Nginx and Ubuntu.
I have gone through your requirements. It looks small issue.
When user is signing up, you asking the user to accept terms and conditions. The accepted terms and conditions data goes to user table in database. However, your validation class, User model and database all missing this field.
If the work is given to me, I can start right away and fix it in no more than 3 hour time. I have recently completed similar work on freelancer.com.
Thanks