Internal Server Error

Trying to get property 'width' of non-object