transactions – Signrawtransaction is not working in the bitcoin kernel V0.17.1

I have trouble signing a transaction in the Bitcoin kernel, since it seems that signrawtransaction no longer works.

I receive the following error message:
signrawtransaction is in disuse and will be completely removed in v0.18. To use signrawtransaction in v0.17, restart bitcoind with -deprecatedrpc = signrawtransaction.
Projects must move to the use of signrawtransactionwithkey and signrawtransactionwithwallet before upgrading to v0.18 (code -32)

Any advice on what to do? Tahnks in advance!