Forum

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

New Discussion

500 Livewire Error Upon Upgrade to .16

Scott Carson   ( User )

Commented 8 months ago

HI,

I previously posted this issue when trying to update to .15 (I mistaken wrote .5):
https://akaunting.com/forum/discussion/installation-update/500-error-after-update-to-315
... and it looks like it still persists even with .16:

Call to undefined method Livewire\LivewireManager::styles() (View: /resources/views/components/layouts/admin/head.blade.php) (View: /resources/views/components/layouts/admin/head.blade.php) (View: /resources/views/components/layouts/admin/head.blade.php)

Here's the full error trace:

Error:
Call to undefined function Livewire\trigger()

at /akaunting2024/vendor/livewire/livewire/src/Component.php:124
at Livewire\Component->__call('bootIfNotBooted', array())
(/akaunting2024/vendor/livewire/livewire/src/Features/SupportBootMethod.php:16)
at Livewire\Features\SupportBootMethod->Livewire\Features\{closure}(object(Favorites))
(/akaunting2024/vendor/livewire/livewire/src/LivewireManager.php:431)
at Livewire\LivewireManager->dispatch('component.boot', object(Favorites))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353)
at Illuminate\Support\Facades\Facade::__callStatic('dispatch', array('component.boot', object(Favorites)))
(/akaunting2024/vendor/livewire/livewire/src/LifecycleManager.php:81)
at Livewire\LifecycleManager->boot()
(/akaunting2024/vendor/livewire/livewire/src/LivewireManager.php:128)
at Livewire\LivewireManager->mount('menu.favorites', array())
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353)
at Illuminate\Support\Facades\Facade::__callStatic('mount', array('menu.favorites', array()))
(/akaunting2024/storage/framework/views/a967f52658461cd76c3b6ec2de797c0a.php:265)
at require('/akaunting2024/storage/framework/views/a967f52658461cd76c3b6ec2de797c0a.php')
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:125)
at Illuminate\Filesystem\Filesystem->getRequire('/akaunting2024/storage/framework/views/a967f52658461cd76c3b6ec2de797c0a.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'companies' => object(MediableCollection), 'notification_count' => 13, 'componentName' => 'layouts.admin.menu', 'attributes' => object(ComponentAttributeBag), 'getCompanies' => object(InvokableComponentVariable), 'getNotificationCount' => object(InvokableComponentVariable), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath('/akaunting2024/storage/framework/views/a967f52658461cd76c3b6ec2de797c0a.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'companies' => object(MediableCollection), 'notification_count' => 13, 'componentName' => 'layouts.admin.menu', 'attributes' => object(ComponentAttributeBag), 'getCompanies' => object(InvokableComponentVariable), 'getNotificationCount' => object(InvokableComponentVariable), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69)
at Livewire\LivewireViewCompilerEngine->evaluatePath('/akaunting2024/storage/framework/views/a967f52658461cd76c3b6ec2de797c0a.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'companies' => object(MediableCollection), 'notification_count' => 13, 'componentName' => 'layouts.admin.menu', 'attributes' => object(ComponentAttributeBag), 'getCompanies' => object(InvokableComponentVariable), 'getNotificationCount' => object(InvokableComponentVariable), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get('/akaunting2024/resources/views/components/layouts/admin/menu.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'companies' => object(MediableCollection), 'notification_count' => 13, 'componentName' => 'layouts.admin.menu', 'attributes' => object(ComponentAttributeBag), 'getCompanies' => object(InvokableComponentVariable), 'getNotificationCount' => object(InvokableComponentVariable), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:35)
at Livewire\LivewireViewCompilerEngine->get('/akaunting2024/resources/views/components/layouts/admin/menu.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'companies' => object(MediableCollection), 'notification_count' => 13, 'componentName' => 'layouts.admin.menu', 'attributes' => object(ComponentAttributeBag), 'getCompanies' => object(InvokableComponentVariable), 'getNotificationCount' => object(InvokableComponentVariable), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:195)
at Illuminate\View\View->getContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:178)
at Illuminate\View\View->renderContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:147)
at Illuminate\View\View->render()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php:99)
at Illuminate\View\Factory->renderComponent()
(/akaunting2024/storage/framework/views/385d1cda5f8bb3b32b8ad937fdef0dce.php:47)
at require('/akaunting2024/storage/framework/views/385d1cda5f8bb3b32b8ad937fdef0dce.php')
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:125)
at Illuminate\Filesystem\Filesystem->getRequire('/akaunting2024/storage/framework/views/385d1cda5f8bb3b32b8ad937fdef0dce.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'componentName' => 'layouts.admin', 'attributes' => object(ComponentAttributeBag), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath('/akaunting2024/storage/framework/views/385d1cda5f8bb3b32b8ad937fdef0dce.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'componentName' => 'layouts.admin', 'attributes' => object(ComponentAttributeBag), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69)
at Livewire\LivewireViewCompilerEngine->evaluatePath('/akaunting2024/storage/framework/views/385d1cda5f8bb3b32b8ad937fdef0dce.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'componentName' => 'layouts.admin', 'attributes' => object(ComponentAttributeBag), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get('/akaunting2024/resources/views/components/layouts/admin.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'componentName' => 'layouts.admin', 'attributes' => object(ComponentAttributeBag), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:35)
at Livewire\LivewireViewCompilerEngine->get('/akaunting2024/resources/views/components/layouts/admin.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'componentName' => 'layouts.admin', 'attributes' => object(ComponentAttributeBag), 'getParentData' => object(Closure), 'slot' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot), 'metaTitle' => object(ComponentSlot), 'title' => object(ComponentSlot), 'buttons' => object(ComponentSlot), 'content' => object(ComponentSlot))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:195)
at Illuminate\View\View->getContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:178)
at Illuminate\View\View->renderContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:147)
at Illuminate\View\View->render()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php:99)
at Illuminate\View\Factory->renderComponent()
(/akaunting2024/storage/framework/views/3ad76a804e4eca76b9bfbdd8940e8506.php:283)
at require('/akaunting2024/storage/framework/views/3ad76a804e4eca76b9bfbdd8940e8506.php')
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:125)
at Illuminate\Filesystem\Filesystem->getRequire('/akaunting2024/storage/framework/views/3ad76a804e4eca76b9bfbdd8940e8506.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dashboard' => object(Dashboard), 'widgets' => object(Collection), 'user_dashboards' => object(Collection), 'date_picker_shortcuts' => array('This Week' => array('start' => '2024-03-18', 'end' => '2024-03-24'), 'This Month' => array('start' => '2024-03-01', 'end' => '2024-03-31'), 'This Quarter' => array('start' => '2024-01-01', 'end' => '2024-03-31'), 'This Year' => array('start' => '2024-01-01', 'end' => '2024-12-31'), 'Year to Date' => array('start' => '2024-01-01', 'end' => '2024-03-24'), 'Previous Week' => array('start' => '2024-03-11', 'end' => '2024-03-17'), 'Previous Month' => array('start' => '2024-02-01', 'end' => '2024-02-29'), 'Previous Quarter' => array('start' => '2023-10-01', 'end' => '2023-12-31'), 'Previous Year' => array('start' => '2023-01-01', 'end' => '2023-12-31'))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
at Illuminate\View\Engines\PhpEngine->evaluatePath('/akaunting2024/storage/framework/views/3ad76a804e4eca76b9bfbdd8940e8506.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dashboard' => object(Dashboard), 'widgets' => object(Collection), 'user_dashboards' => object(Collection), 'date_picker_shortcuts' => array('This Week' => array('start' => '2024-03-18', 'end' => '2024-03-24'), 'This Month' => array('start' => '2024-03-01', 'end' => '2024-03-31'), 'This Quarter' => array('start' => '2024-01-01', 'end' => '2024-03-31'), 'This Year' => array('start' => '2024-01-01', 'end' => '2024-12-31'), 'Year to Date' => array('start' => '2024-01-01', 'end' => '2024-03-24'), 'Previous Week' => array('start' => '2024-03-11', 'end' => '2024-03-17'), 'Previous Month' => array('start' => '2024-02-01', 'end' => '2024-02-29'), 'Previous Quarter' => array('start' => '2023-10-01', 'end' => '2023-12-31'), 'Previous Year' => array('start' => '2023-01-01', 'end' => '2023-12-31'))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69)
at Livewire\LivewireViewCompilerEngine->evaluatePath('/akaunting2024/storage/framework/views/3ad76a804e4eca76b9bfbdd8940e8506.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dashboard' => object(Dashboard), 'widgets' => object(Collection), 'user_dashboards' => object(Collection), 'date_picker_shortcuts' => array('This Week' => array('start' => '2024-03-18', 'end' => '2024-03-24'), 'This Month' => array('start' => '2024-03-01', 'end' => '2024-03-31'), 'This Quarter' => array('start' => '2024-01-01', 'end' => '2024-03-31'), 'This Year' => array('start' => '2024-01-01', 'end' => '2024-12-31'), 'Year to Date' => array('start' => '2024-01-01', 'end' => '2024-03-24'), 'Previous Week' => array('start' => '2024-03-11', 'end' => '2024-03-17'), 'Previous Month' => array('start' => '2024-02-01', 'end' => '2024-02-29'), 'Previous Quarter' => array('start' => '2023-10-01', 'end' => '2023-12-31'), 'Previous Year' => array('start' => '2023-01-01', 'end' => '2023-12-31'))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
at Illuminate\View\Engines\CompilerEngine->get('/akaunting2024/resources/views/common/dashboards/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dashboard' => object(Dashboard), 'widgets' => object(Collection), 'user_dashboards' => object(Collection), 'date_picker_shortcuts' => array('This Week' => array('start' => '2024-03-18', 'end' => '2024-03-24'), 'This Month' => array('start' => '2024-03-01', 'end' => '2024-03-31'), 'This Quarter' => array('start' => '2024-01-01', 'end' => '2024-03-31'), 'This Year' => array('start' => '2024-01-01', 'end' => '2024-12-31'), 'Year to Date' => array('start' => '2024-01-01', 'end' => '2024-03-24'), 'Previous Week' => array('start' => '2024-03-11', 'end' => '2024-03-17'), 'Previous Month' => array('start' => '2024-02-01', 'end' => '2024-02-29'), 'Previous Quarter' => array('start' => '2023-10-01', 'end' => '2023-12-31'), 'Previous Year' => array('start' => '2023-01-01', 'end' => '2023-12-31'))))
(/akaunting2024/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:35)
at Livewire\LivewireViewCompilerEngine->get('/akaunting2024/resources/views/common/dashboards/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dashboard' => object(Dashboard), 'widgets' => object(Collection), 'user_dashboards' => object(Collection), 'date_picker_shortcuts' => array('This Week' => array('start' => '2024-03-18', 'end' => '2024-03-24'), 'This Month' => array('start' => '2024-03-01', 'end' => '2024-03-31'), 'This Quarter' => array('start' => '2024-01-01', 'end' => '2024-03-31'), 'This Year' => array('start' => '2024-01-01', 'end' => '2024-12-31'), 'Year to Date' => array('start' => '2024-01-01', 'end' => '2024-03-24'), 'Previous Week' => array('start' => '2024-03-11', 'end' => '2024-03-17'), 'Previous Month' => array('start' => '2024-02-01', 'end' => '2024-02-29'), 'Previous Quarter' => array('start' => '2023-10-01', 'end' => '2023-12-31'), 'Previous Year' => array('start' => '2023-01-01', 'end' => '2023-12-31'))))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:195)
at Illuminate\View\View->getContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:178)
at Illuminate\View\View->renderContents()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/View.php:147)
at Illuminate\View\View->render()
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
at Illuminate\Http\Response->setContent(object(View))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
at Illuminate\Http\Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:911)
at Illuminate\Routing\Router::toResponse(object(Request), object(View))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:878)
at Illuminate\Routing\Router->prepareResponse(object(Request), object(View))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/santigarcor/laratrust/src/Middleware/LaratrustPermission.php:25)
at Laratrust\Middleware\LaratrustPermission->handle(object(Request), object(Closure), 'read-common-dashboards')
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/AdminMenu.php:30)
at App\Http\Middleware\AdminMenu->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/santigarcor/laratrust/src/Middleware/LaratrustPermission.php:25)
at Laratrust\Middleware\LaratrustPermission->handle(object(Request), object(Closure), 'read-admin-panel')
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/RedirectIfWizardNotCompleted.php:20)
at App\Http\Middleware\RedirectIfWizardNotCompleted->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/CheckForReadOnlyMode.php:21)
at App\Http\Middleware\CheckForReadOnlyMode->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php:57)
at Illuminate\Auth\Middleware\Authenticate->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/IdentifyCompany.php:57)
at App\Http\Middleware\IdentifyCompany->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:25)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:25)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:32)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/akaunting/laravel-language/src/Middleware/SetLocale.php:95)
at Akaunting\Language\Middleware\SetLocale->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/AddXHeader.php:18)
at App\Http\Middleware\AddXHeader->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/app/Http/Middleware/RedirectIfNotInstalled.php:20)
at App\Http\Middleware\RedirectIfNotInstalled->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:800)
at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
at Illuminate\Routing\Router->dispatchToRoute(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
at Illuminate\Routing\Router->dispatch(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
at Livewire\DisableBrowserCache->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:66)
at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:99)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php:48)
at Illuminate\Http\Middleware\TrustHosts->handle(object(Request), object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/akaunting2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/akaunting2024/index.php:27)

Scott Carson   ( User )

Commented 8 months ago

Knowing that I didn't get a reply on the 500 error post for .5 (and btw, it was .5 not .15), I planned for the worst and just did a manual upgrade as the vendor directory is clearly the culprit ... and it worked. Here's the steps:

1.) Backup your current/broken installation (I call mine /akaunting2024)
mv akaunting2024/ akaunting2024-broken/

2.) Setup the new install
mkdir akaunting2024
cd akaunting2024
wget -O Akaunting.zip https://akaunting.com/download.php?version=latest
unzip Akaunting.zip

3.) Bring over the configuration f rom the old/broken install (note: I also have a custom .htaccess that includes compression as the speed of akaunting is so slow that I need anything and everything just to get load times under 1 minute per page)
cp ../akaunting2024-broken/.env .
mv .htaccess .htaccess-original
cp ../akaunting2024-broken/.htaccess .

4.) Clean up
cd ../
chown -R user:nobody akaunting2024/
find akaunting2024/ -type f -exec chmod 644 {} +
find akaunting2024/ -type d -exec chmod 755 {} +

Hope that helps someone!
-Scott.

Scott Carson   ( User )

Commented 7 months ago

PROBLEM: I forgot that this method will only affect the files. If anything has been changed on the database schema side in the upgrade, it won't be included. Looks like I'm reverting everything and going back to 3.1.5 ....

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions