Forum

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

New Discussion

stats_header.blade.php: "Method deleteLink does not exist"

Scott Carson   ( User )

Commented 1 year ago

Upgraded from 2.x to 3.0.10 and I've got about half a dozen bugs. I know this has already been mentioned in another forum post but that post got no replies and when I reach out to akaunting by way of a ticket, I got a reply ... by being told to use the forum. So here I am again.
Same issue here - dashbaord is completely broken.

Method deleteLink does not exist. (View: /home/user/public_html/akaunting/resources/views/partials/widgets/stats_header.blade.php) (View: /home/user/public_html/akaunting/resources/views/partials/widgets/stats_header.blade.php) (View: /home/user/public_html/akaunting/resources/views/partials/widgets/stats_header.blade.php)

at /home/user/public_html/akaunting/vendor/laravelcollective/html/src/FormBuilder.php:1482
at Illuminate\View\Engines\CompilerEngine->handleViewException(object(ViewException), 0)
(/home/user/public_html/akaunting/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:106)
at Livewire\LivewireViewCompilerEngine->handleViewException(object(ViewException), 0)
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
at Illuminate\View\Engines\PhpEngine->evaluatePath('/home/user/public_html/akaunting/storage/framework/views/a66afc6b944f2ffbfc9bb932eedab1ffc830f017.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 Year' => array('start' => '2022-01-01', 'end' => '2022-12-31'), 'Previous Year' => array('start' => '2021-01-01', 'end' => '2021-12-31'), 'This Quarter' => array('start' => '2022-10-01', 'end' => '2022-12-31'), 'Previous Quarter' => array('start' => '2022-07-01', 'end' => '2022-09-30'), 'Last 12 Months' => array('start' => '2021-12-29', 'end' => '2022-12-28'))))
(/home/user/public_html/akaunting/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69)
at Livewire\LivewireViewCompilerEngine->evaluatePath('/home/user/public_html/akaunting/storage/framework/views/a66afc6b944f2ffbfc9bb932eedab1ffc830f017.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 Year' => array('start' => '2022-01-01', 'end' => '2022-12-31'), 'Previous Year' => array('start' => '2021-01-01', 'end' => '2021-12-31'), 'This Quarter' => array('start' => '2022-10-01', 'end' => '2022-12-31'), 'Previous Quarter' => array('start' => '2022-07-01', 'end' => '2022-09-30'), 'Last 12 Months' => array('start' => '2021-12-29', 'end' => '2022-12-28'))))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
at Illuminate\View\Engines\CompilerEngine->get('/home/user/public_html/akaunting/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 Year' => array('start' => '2022-01-01', 'end' => '2022-12-31'), 'Previous Year' => array('start' => '2021-01-01', 'end' => '2021-12-31'), 'This Quarter' => array('start' => '2022-10-01', 'end' => '2022-12-31'), 'Previous Quarter' => array('start' => '2022-07-01', 'end' => '2022-09-30'), 'Last 12 Months' => array('start' => '2021-12-29', 'end' => '2022-12-28'))))
(/home/user/public_html/akaunting/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:35)
at Livewire\LivewireViewCompilerEngine->get('/home/user/public_html/akaunting/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 Year' => array('start' => '2022-01-01', 'end' => '2022-12-31'), 'Previous Year' => array('start' => '2021-01-01', 'end' => '2021-12-31'), 'This Quarter' => array('start' => '2022-10-01', 'end' => '2022-12-31'), 'Previous Quarter' => array('start' => '2022-07-01', 'end' => '2022-09-30'), 'Last 12 Months' => array('start' => '2021-12-29', 'end' => '2022-12-28'))))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/View.php:152)
at Illuminate\View\View->getContents()
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/View.php:135)
at Illuminate\View\View->renderContents()
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/View.php:104)
at Illuminate\View\View->render()
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
at Illuminate\Http\Response->setContent(object(View))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
at Illuminate\Http\Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:835)
at Illuminate\Routing\Router::toResponse(object(Request), object(View))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:804)
at Illuminate\Routing\Router->prepareResponse(object(Request), object(View))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:727)
at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/santigarcor/laratrust/src/Middleware/LaratrustPermission.php:25)
at Laratrust\Middleware\LaratrustPermission->handle(object(Request), object(Closure), 'read-common-dashboards')
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/AdminMenu.php:30)
at App\Http\Middleware\AdminMenu->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/santigarcor/laratrust/src/Middleware/LaratrustPermission.php:25)
at Laratrust\Middleware\LaratrustPermission->handle(object(Request), object(Closure), 'read-admin-panel')
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/RedirectIfWizardNotCompleted.php:20)
at App\Http\Middleware\RedirectIfWizardNotCompleted->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/CheckForReadOnlyMode.php:21)
at App\Http\Middleware\CheckForReadOnlyMode->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php:44)
at Illuminate\Auth\Middleware\Authenticate->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/IdentifyCompany.php:58)
at App\Http\Middleware\IdentifyCompany->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:29)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:29)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-firewall/src/Abstracts/Middleware.php:36)
at Akaunting\Firewall\Abstracts\Middleware->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/akaunting/laravel-language/src/Middleware/SetLocale.php:95)
at Akaunting\Language\Middleware\SetLocale->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/AddXHeader.php:18)
at App\Http\Middleware\AddXHeader->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/app/Http/Middleware/RedirectIfNotInstalled.php:20)
at App\Http\Middleware\RedirectIfNotInstalled->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:728)
at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:705)
at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:669)
at Illuminate\Routing\Router->dispatchToRoute(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658)
at Illuminate\Routing\Router->dispatch(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
at Livewire\DisableBrowserCache->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:66)
at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustHosts.php:48)
at Illuminate\Http\Middleware\TrustHosts->handle(object(Request), object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/home/user/public_html/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/home/user/public_html/akaunting/index.php:27)

Running 3.0.10
PHP 8.1 with intl extension installed
All directories 755, all files 644

I thought the issue was tied to the Receivables and/or Sales Metric app/widget, so I uninstalled them. Didn't work, Dashboard is still broken.

Any help from anyone is greatly appreciated!!!

Denis Dulici   ( Admin )

Commented 1 year ago

Hello,

You should delete any old Widget incompatible with Akaunting 3.0 version. Here you can find the core widgets:

https://github.com/akaunting/akaunting/tree/master/resources/views/widgets

Best regards

Scott Carson   ( User )

Commented 1 year ago

Hi Denis,

Thanks for the quick reply - life saving! Sounds like an easy solution, but how do I cleanly do this? Is it simply enough to just delete the file stats_header.blade.php ?

I followed your link - glad you sent it - and it turns out I have *none* of the widgets you've listed. All I have is stats_header.blade.php, and standard_header.blade.php ... am I missing widgets? If so, this makes me wonder if the upgrade wasn't complete and I'm missing anything else?

-Scott.

Denis Dulici   ( Admin )

Commented 1 year ago

Hello Scott,

Yes, unfortunately, it seems that your upgrade wasn't complete.

Best regards

Scott Carson   ( User )

Commented 1 year ago

Happy new year, Denis!

Unfortunately, I haven't had 1 successful upgrade in 4-5 versions. However, because of this, I'm prepared. So, can you give me the steps to re-run the upgrade without having to reinstall and/or lose data?

Thanks in advance!
-S.

Scott Carson   ( User )

Commented 1 year ago

Didn't get a reply and my company is depending on this, so I forged ahead and tried a manual re-install but keeping the database. On ever other enterprise system I work on, this is no problem. However, akaunting seems to create a random and new prefix for every table it creates, effectively negating my data. I'm still waiting on step 2 of the install tool as I type, but I now have to manually merge tables from backup, one by one. Surely there must be a better way to redo an upgrade???

Scott Carson   ( User )

Commented 1 year ago

OK new plan: I reverted to a backup after completely giving up on a reinstall. However, I kept the source file so as to copy the widgets. That failed too.

After cleaning up the /widgets directory, I got this error:
View [widgets.total_income] not found. (View: /home/user/public_html/akaunting/resources/views/common/dashboards/show.blade.php)

So I put back the total_income widget, but obviously that was a step backwards so I went to the show.blade.php file .... no reference to total_income. So, I replaced show.blade.php with the one from 3.0.10, thinking that mine was an old version lingering. Nope, same "total_income not found error".

Help?
-S.

Scott Carson   ( User )

Commented 1 year ago

No replies, so I brushed up my laravel skills and tried one more time ... and it failed. Even when I ran a linux "diff" command, there was NOTHING different between the broken upgrade files/content and the 3.0.11 source.

So I reverted to a very specific backup, I'll try to cover every step taken:
0.) make a backup of the database (mysqldump) and file structure (cp -RP)!
1.) I kept the broken upgrade database in place
2.) I downloaded and extracted the 3.0.11 zip file and assigned matching permissions so as to establish a new file structure. Inside that, I modified the .env file and specifically I filled in the following parameters to match (0) ....
- app_key
- app_debug

Scott Carson   ( User )

Commented 1 year ago

My message got truncated so I'll try the steps again ...

0.) make a backup of the database (mysqldump) and file structure (cp -RP)!
1.) I kept the broken upgrade database in place
2.) I downloaded and extracted the 3.0.11 zip file and assigned matching permissions so as to establish a new file structure. Inside that, I modified the .env file and specifically I filled in the following parameters to match (0)...
- app_installed=true *NOTE: this is the difference!!!
- app_key *NOTE: important!
- app_debug
- app_url
- db_database
- db_username
- db_password
- db_prefix *NOTE: this is crucial!!!
- mail_from_name
- mail_from_address
- firewall_enabled=true * NOTE: important!

With that and after roughly 50 hours in attempting this upgrade, the dashboard now works, and I honestly have no idea why ... and there's still a laundry list of bugs. Now I'm moving on to my next ticket, trying to figure out why I don't have any save/cancel buttons.

I hope this helps someone,
-Scott.

Please login or register to leave a response.

Showing 1 to 9 of 9 discussions