0
A 500 error is presented when trying to add or list a customer's address.
0
Hello,
Can you please let me know the error message and trace from the latest log file in storage/logs/
folder.
Thank you
0
production.ERROR: Class "Modules\Shop\Models\Address" not found {"userId":"be244928-1e31-4fbf-8076-90f969c099bb","exception":"[object] (Error(code: 0): Class "Modules\Shop\Models\Address" not found at C:\laragon\www\modernpos\modules\MPS\Http\Controllers\CustomerController.php:24)
[stacktrace]
#0 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): Modules\MPS\Http\Controllers\CustomerController->addresses('355d7a6e-2bbc-4...')
#1 C:\laragon\www\modernpos\modules\MPS\Models\Traits\Authorizable.php(46): Illuminate\Routing\Controller->callAction('addresses', Array)
#2 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(43): Modules\MPS\Http\Controllers\Controller->callAction('addresses', Array)
#3 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\Route.php(259): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Modules\MPS\Http\Controllers\CustomerController), 'addresses')
#4 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\Route.php(205): Illuminate\Routing\Route->runController()
#5 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\Router.php(806): Illuminate\Routing\Route->run()
#6 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(144): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#7 C:\laragon\www\modernpos\app\Http\Middleware\Localization.php(18): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#8 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(183): App\Http\Middleware\Localization->handle(Object(Illuminate\Http\Request), Object(Closure))
#9 C:\laragon\www\modernpos\packages\installer\src\Http\Middleware\RedirectIfNotInstalled.php(15): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#10 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(183): Tecdiary\Installer\Http\Middleware\RedirectIfNotInstalled->handle(Object(Illuminate\Http\Request), Object(Closure))
#11 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#12 C:\laragon\www\modernpos\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(183): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#13 C:\laragon\www\modernpos\vendor\laravel\framework\src
0
Thank you for sharing the error. I will fixing this in coming update.
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.