What is better to choose adminpanel?
Can you give me some advice?
Which is better to use the system?
have you googled it?
Which is better to use the administrative panel?
Can someone help me?
are you still here?
i think install two version php your server

how to handle this?
delete composer.lock and delete vendor folder
enter composer update in terminal
enter composer update in terminal
i changed laravel/framework to 5.8.* and ran composer update. its updating now. let me c it it will solve the issue
enter composer update in terminal
this is the best way to actually solve this and still maintain 5.7
sometimes packets are involved ๐
yes. am already doing that
Which is better to use the system?
Read documentation.
I have it doesn’t seem to have much on using the commands to create new files / directories. Stubs
Yeah. Which I’m fine with.
Tell me please
Which is better to use the administrative panel?
Thank

im using invention image laravel package.
im trying to resize the image with keep aspect ratio but i have error
this is code
protected function uploadImage($file)
{
$year = Carbon::now()->year;
$fileName = rand(10,100).$file->getClientOriginalName();
$filePath = “uploaded/images/{$year}/”;
$file->move($filePath,$fileName);
$sizes = [“300″,”600″,”900”];
Image::make($file->getRealPath())->resize(300,null,function ($constraint){
$constraint->aspectRatio();
})->save(public_path($filePath.’300_’.$fileName));
}
and this is error
#Image_source_not_readable
The array is as follows.
$balances = [
6 => [
“MemberNumber” => “100000”
“Portfolio” => “Aggressive”
“EEReg” => “527675”
“ERReg” => “4772955”
]
7 => [
“MemberNumber” => “100001”
“Portfolio” => “Moderate”
“EEReg” => “6745410”
“ERReg” => “2266549”
]
8 => [
“MemberNumber” => “100002”
“Portfolio” => “Aggressive”
“EEReg” => “1121845”
“ERReg” => “6158774”
]
9 => [
“MemberNumber” => “100003”
“Portfolio” => “Moderate”
“EEReg” => “433784”
“ERReg” => “8123355”
]
]
and the current code is;
$total_balances = array();
foreach ($balances as $balance) {
foreach ($balance as $key => $value) {
if ($key == ‘MemberNumber’ || $key == ‘Portfolio’) {
continue;
} else {
$total_balances[$balance[‘Portfolio’]][$key] += $value;
}
}
}
I expect the result to be;
$total_balances = [
“Aggressive” => [
“EEReg” => “Sum of EEReg where Portfolio is Aggressive”,
“ERReg” => “Sum of ERReg where Portfolio is Aggressive”,
],
“Moderate” => [
“EEReg” => “Sum of EEReg where Portfolio is Moderate”,
“ERReg” => “Sum of ERReg where Portfolio is Moderate”,
]
]
https://www.youtube.com/playlist?list=PLe30vg_FG4OTELVqQgHaMaq2oELjpSWy_
Anyone?
We can apply any other project
Image source not readable
protected function uploadImage($file)
{
$year = Carbon::now()->year;
$fileName = rand(10,100).$file->getClientOriginalName();
$filePath = “uploaded/images/{$year}/”;
$file->move($filePath,$fileName);
$sizes = [“300″,”600″,”900”];
Image::make($file->getRealPath())->resize(300,null,function ($constraint){
$constraint->aspectRatio();
})->save(public_path($filePath.’300_’.$fileName));
}
and this is error
#Image_source_not_readable
are you still here?
protected function uploadImage($file)
{
$year = Carbon::now()->year;
$fileName = rand(10,100).$file->getClientOriginalName();
$filePath = “uploaded/images/{$year}/”;
$file->move($filePath,$fileName);
$sizes = [“300″,”600″,”900”];
Image::make($file->getRealPath())->resize(300,null,function ($constraint){
$constraint->aspectRatio();
})->save(public_path($filePath.’300_’.$fileName));
}
and this is error
#Image_source_not_readable
U ain’t sending d image as base64?
no
i can upload it with move() normally
i have problems with intervention image