i have a major issue with none type

please help me, i have a school project presentation tomorrow, and i can’t render, i can’t export, and my 3d model is entirely in blender. i deleted some texture datablock in the outliner, and now i only get these types of messages

Traceback (most recent call last):
File “C:\Documents and Settings\eu\Application Data\Blender Foundation\Blender
.blender\scripts\3ds_export.py”, line 946, in save_3ds
object_info.add_subchunk(make_material_chunk(mat_and_image[0], mat_and_image
[1]))
File “C:\Documents and Settings\eu\Application Data\Blender Foundation\Blender
.blender\scripts\3ds_export.py”, line 489, in make_material_chunk
images = get_material_images(material) # can be None
File “C:\Documents and Settings\eu\Application Data\Blender Foundation\Blender
.blender\scripts\3ds_export.py”, line 430, in get_material_images
if mtex and mtex.tex.type == Blender.Texture.Types.IMAGE:
AttributeError: ‘NoneType’ object has no attribute ‘type’