This is happening because of the Image Target not having the Script "Image Target Behaviour". So, Remove Image Target Preview from the object and then add Image Target behaviour and the error will sort out.