Adding custom end points, No error line

function custom_phrase($request_data)

$request_data was missing.

Fixed it 🙂

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)