Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6180

Why did phpMyAdmin stop working after upgrading Ubuntu to 22.04?

$
0
0

Just upgraded to Ubuntu 22.04 and now my phpadmin won't load. I get this following error

Parse error: syntax error, unexpected 'static' (T_STATIC) in /usr/share/php/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 272

I opened up the file, and here is the specific code in that segment.

public function addResource(ResourceInterface $resource): static{    if (!$this->trackResources) {        return $this;    }   if ($resource instanceof GlobResource && $this->inVendors($resource->getPrefix())) {       return $this;    }    $this->resources[(string) $resource] = $resource;   return $this;}

Yesterday before the upgrade, everything was working fine. Does anybody have any suggestions?


Viewing all articles
Browse latest Browse all 6180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>