Skip to content
Advertisement

Tag: php-8.1

Attempt to assign property “status” on null

I have the following code running on PHP 7.4.2, but after the update to PHP 8.1.2, I’m getting an error in order to fill an array with some data. I’m getting the following error: Fatal error: Uncaught Error: Attempt to assign property “status” on null Is this problem related to some change in PHP 8? I’ve tried to find some

PHP is not working after updating to PHP 8.1 RC5

After updating PHP 7.4 to PHP 8.1 RC5, PHP has stopped working on my machine and produces following error: PHP Warning: PHP Startup: ^(text/|application/xhtml+xml) (offset=0): unrecognised compile-time option bit(s) in Unknown on line 0 it produces the error even when I ask for php version: OS: Ubuntu 20.04 updated using this repository: do you know what the problem could be?

Advertisement