render camera problem

Hi, wonder if someone can help me with a problem.
i upgraded a game from cocos creator 1.9 to 2.3 and I’m having a lot of issues with the camera. when i execute it crashes and shows errors sucha as this

also, this piece of code displays an error

onEnable: function () {

onDisable: function () {

this is the error.

thanks in advanced