に配置したスクリプトでエラーが発生した場合、 「 HTTP 500 内部サーバー エラー」 と表示されるだけで、 「 Fatal error:. When this code is used in view. phtml your block class is not going to be core/ template therefore references such as " $ this- > getImageLabel( ) " will cause you the errors you describe. To see this problem for yourself add this to. You are using the event incorrectly. In event checkout_ onepage_ controller_ success_ action. the order is not sent as an object, but as the order id. ( as order_ ids). Fatal error: Call to a member function getData( ) on a non- object in.