Broken:
$userteam->da = ''; $userteam->da + $userteam->da_2 + $userteam->da_3;
Fix:
$userteam->da = 0; $userteam->da + $userteam->da_2 + $userteam->da_3;
After my week of broken environments, I get enstars back up and boom this error.
The PHP version of the live version is 5.6 while the new dev environment is 7.2
Old code:
$allcards = ''; $allcards[] = $card;
Fixed Code
$allcards = []; $allcards[] = $card;