New api break my old code

Now work! I’m stupid and i have not updated php.ini and restarted apache2