Y series phone

script:yseries] SCRIPT ERROR: ?:-1: attempt to index a nil value (field ‘lib’)
??
Natewolf15K — Today at 11:12 PM

[      script:yseries] SCRIPT ERROR: yseries was unable to execute a query!
[      script:yseries] Query:         INSERT INTO yphone_settings (phone_imei, apps, notifications, type, homescreen_wallpaper, lockscreen_wallpaper)
[      script:yseries]         VALUES (?, ?, ?, ?, ?, ?)
[      script:yseries]
[      script:yseries] [null,"","","BlackY24","backgrounds-front/BlackY24.png","backgrounds-front/BlackY24.png"]
[      script:yseries] Column 'phone_imei' cannot be null

how do i fix this

Those are two different errors.

  • The first one looks like you’re trying to use ox_lib → I suggest you read this documentation : https://overextended.dev/ox_lib#usage
  • The second one is pretty obvious : you’re trying to execute a SQL query but the value for phone_imei is null and the database schema specifically requires it to be NOT null

who do i fix the second one

Make the column phone_imei being not null before inserting it. Alternatively you should ask the resource author

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.