Forum

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

New Discussion

Update to 2.0.11

James Cumming   ( User )

Commented 3 years ago

Hi
I'm trying to update from 2.0.7 to 2.0.11 but the automatic update fails at trying to download the update file.

At terminal I get the following error:

Jamess-MBP:~ james$ php ~/Akaunting_App/artisan update:all

ErrorException

Declaration of Illuminate\Http\Response::setContent($content) should be compatible with Symfony\Component\HttpFoundation\Response::setContent(?string $content)

at Akaunting_App/vendor/laravel/framework/src/Illuminate/Http/Response.php:14
10| use JsonSerializable;
11| use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
12| use Symfony\Component\HttpFoundation\ResponseHeaderBag;
13|
> 14| class Response extends SymfonyResponse
15| {
16| use ResponseTrait, Macroable {
17| Macroable::__call as macroCall;
18| }

+3 vendor frames
4 [internal]:0
Composer\Autoload\ClassLoader::loadClass("Illuminate\Http\Response")

+3 vendor frames
8 [internal]:0
Composer\Autoload\ClassLoader::loadClass("Dingo\Api\Http\Response")

Denis Dulici   ( Admin )

Commented 3 years ago

Hello,

Why not update from the interface?

Regards

James Cumming   ( User )

Commented 3 years ago

Hi, I couldn't. But I did a fresh install and all is fixed now.

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions