Since last week I noticed problem on few places in the app I am working on. After investigation I found that with Everything is ok, but with: App brakes on places where I use enum in query like: I tried to read about it: here and here but I do not see info about this. Error is written in title.
Tag: php-8.1
IlluminateDatabaseGrammar::parameterize(): Argument #1 ($values) must be of type array, string given
I am trying to Seed a database using a Model Factory in Laravel but am seeing this error on the terminal. From the multiple solutions I have tried, it seems the issue is at the faker-generated content level, but I need that faker content for the factory to work as intended. Below are the Factory and Migration classes that will
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?