<?php
    class HTTPErrorController extends ControllerBase {
      protected $method = 'create';

        public function createView( $error, $reason, $header ) {
            header( $header );
            require "views/http/$error.php";
        }

    }
?>

<?php
    class HTTPErrorController extends ControllerBase {
      public $method = 'create';

        public function createView( $error, $reason, $header ) {
            header( $header );
            require "views/http/$error.php";
        }

    }
?>

Declare $method as public in HTTPErrorController.
Declare $method as public in HTTPErrorController.
