TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

I got this error after resetting my pc to reconnect to the testnet. Below is the full error note I got from the console. Although there is no change in the parameters i have been using before now, still same they are: Token, Address and the Header.

Traceback (most recent call last):
  File "c:/Users/User/PycharmProjects/autodraft/overdraft.py", line 4, in <module>
    from assetInfo import *  # transferISA, asset_manage_authorized, assetinformation
  File "c:\Users\User\PycharmProjects\autodraft\assetInfo.py", line 2, in <module>
    from connection import algo_client, params
  File "c:\Users\User\PycharmProjects\autodraft\connection.py", line 21, in <module>
    params = algo_client.suggested_params()
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\algosdk\v2client\algod.py", line 243, in suggested_params
    res = self.algod_request("GET", req, **kwargs)
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\algosdk\v2client\algod.py", line 68, in algod_request
    req = Request(self.algod_address+requrl, headers=header, method=method,
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Can you update the SD?

pip3 install --upgrade py-algorand-sdk

Can you print the algod address you’re using in the code. Most likely, it’s None instead of a string.

The Algod address is correct and I’ve updated the kit. It look so weird.

Can you post a minimal example which replicates the problem?

Thank you Fabrice. It worked now.