SCRIPT ERROR: @esx_addons_gcphone/server.lua:39: attempt to concatenate a nil value (field 'numero')

Hi everyone. I get this error when trying to send a message to police, ambulance or mechanic.
I use GCPhone with esx_addons_gcphone.

This is the line in the script (39) where it says the error is. I didn’t use to have problems with this so I could really use your help. Thanks!

This is the line in the database that saves the phone number of the user.

Thanks in advance!

hello, you need to see first if in your job script, server side, if you have these lines

TriggerEvent('esx_phone:registerNumber', 'ambulance', 'EMS', true, true)

in each job
and then, you should verify the config.json of your gcphone \html\static\config

"serviceCall": [
    {
      "display": "Police",
      "icon": "/html/static/img/icons_app/policier.png",
      "subMenu": [
        {
          "title": "Envoyé un message",
          "eventName": "esx_addons_gcphone:call",
          "type": {
            "number": "police"
          }
        },
        {
          "title": "Call emergency number",
          "eventName": "gcphone:autoCallNumber",
          "type": {
            "number": "911"
          }
        }
      ]
    },
    {
      "display": "Ambulance",
      "backgroundColor": "red",
      "icon": "/html/static/img/icons_app/ambulancier.png",
      "subMenu": [
        {
          "title": "Envoyé un message",
          "eventName": "esx_addons_gcphone:call",
          "type": {
            "number": "ambulance"
          }
		},
		{
          "title": "Signaler un coma",
          "eventName": "esx_addons_gcphone:call",
          "type": {
            "number": "ambulance"
          }
        }
      ]
    },

if in the field “number”: "ambulance’’ → it must be here the job name

according to the error message, the phone number of the job isn’t registred i think.

I already did all of that.
It used to work, but since yesterday evening it gives the error. I really don’t understand.

any modification in your jobs table ?
check if there’s no duplicate in societey_
check the number field in the user table, if there’s no error on one of them