Bug Report: Error When Product Purchase And Pos Selling

Error When Product Purchase And Pos Selling

I received this error twice while adding a purchase to the system and a payment to the pos order

DP

Dhanushka Priyankara

Reported
I received this error twice while adding a purchase to the system and a payment to the pos order
  • DP

    Dhanushka Priyankara

    Answered
    [previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'hash' in 'INSERT INTO' at /home/u285376972/domains/thekingsmart.lk/public_html/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php:47)
    [stacktrace]

    What is this Hash Column? and how to add this
  • MS

    Mian Saleem

    Answered
    Hello,

    Can you please run `php artisan migrate --force` then try again.

    Thank you
  • DP

    Dhanushka Priyankara

    Answered
    I backedup the current database, restored the previous database, and again restored the backed-up one. Actually, it worked. Problem solved. Now I can add a purchase to the system. I found another problem. In the public store mod, the account sign-up option is not working. A new user cannot register from the shop page using the sign-up button link. I can add customers manually from the admin dashboard. Do you have any solution?
  • Login to Reply