@Lebod I've had a similar problem and it turned out that the upgrade did not install the php mbstring extension. I fixed it with:
apt-get install php7.0-mbstring
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When doing apt-get update I get the error:
W: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
Doing research, it seems that you need to move to /ondrej/php instead ? After doing
add-apt-repository ppa:ondrej/php
apt-get update
apt-get upgrade the system upgrade php from 7.0.35 to 7.0.41 and upgrades a few other files
It completely screws up our app though. We get the error :
Fatal error: Uncaught ReflectionException: Class log does not exist in /home/forge/.com/bootstrap/cache/compiled.php:1286 Stack trace: #0 /home/forge/.com/bootstrap/cache/compiled.php(1286): ReflectionClass->__construct('log') #1 /home/forge/.com/bootstrap/cache/compiled.php(1237): Illuminate\Container\Container->build('log', Array) #2 /home/forge/.com/bootstrap/cache/compiled.php(1775): Illuminate\Container\Container->make('log', Array) #3 /home/forge/.com/bootstrap/cache/compiled.php(1329): Illuminate\Foundation\Application->make('log') #4 /home/forge/.com/bootstrap/cache/compiled.php(1313): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter)) #5 /home/forge/.com/bootstrap/cache/compiled.php(1299): Illuminate\Container\Container->getDependencies(Array, Array) #6 /home/forge/.com/bootstrap/cache/compiled.php(1237): Illuminate\Container\Container->build('\Exceptions\H...', Array) #7 /home/forge/ in /home/forge/****.com/bootstrap/cache/compiled.php on line 1286
Would you guys have any idea why this is happening ?
Please or to participate in this conversation.