Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHP Compile Error β yii\base\ErrorException
- Declaration of app\models\Review::getRelation() must be compatible with yii\db\ActiveRecordInterface::getRelation($name, $throwException = true)
- 1. in D:\xampp\htdocs\Basic-RC\models\Review.php at line 28
- 19202122232425262728293031323334353637 * @property string $org_contact_email
- * @property string $org_contact_msg
- *
- * @property Answer[] $answers
- * @property Reviewer $reviewer
- * @property Organization $organization
- * @property Relation $relation
- */
- class Review extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'review';
- }
- /**
- 2. yii\base\ErrorHandler::handleFatalError()
- $_GET = [
- 'r' => 'gii/default/view',
- 'id' => 'crud',
- ];
- $_POST = [
- '_csrf' => 'MmJ3NHY3SGN8UTJtQnN9PAVRJGc3YT4sBAgaRw4OJTxgCAAZMwd9Fw==',
- 'Generator' => [
- 'modelClass' => 'app\\models\\Review',
- 'searchModelClass' => 'app\\models\\ReviewSearch',
- 'controllerClass' => 'app\\controllers\\ReviewController',
- 'baseControllerClass' => 'yii\\web\\Controller',
- 'moduleID' => '',
- 'indexWidgetType' => 'grid',
- 'enableI18N' => '0',
- 'messageCategory' => 'app',
- 'template' => 'default',
- ],
- 'preview' => '',
- ];
- $_SERVER = [
- 'MIBDIRS' => '/xampp/php/extras/mibs',
- 'MYSQL_HOME' => '\\xampp\\mysql\\bin',
- 'OPENSSL_CONF' => '/xampp/apache/bin/openssl.cnf',
- 'PHP_PEAR_SYSCONF_DIR' => '\\xampp\\php',
- 'PHPRC' => '\\xampp\\php',
- 'TMP' => '\\xampp\\tmp',
- 'HTTP_HOST' => 'localhost',
- 'HTTP_CONNECTION' => 'keep-alive',
- 'CONTENT_LENGTH' => '465',
- 'HTTP_CACHE_CONTROL' => 'max-age=0',
- 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
- 'HTTP_ORIGIN' => 'http://localhost',
- 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36',
- 'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
- 'HTTP_REFERER' => 'http://localhost/Basic-RC/web/index.php?r=gii%2Fdefault%2Fview&id=crud',
- 'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
- 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8',
- 'HTTP_COOKIE' => '_csrf=3fca09129fd8e22c6a4bb0b0da8ebdfaca28cb2901fb466ca10e740b8322e008s%3A32%3A%22N3EY4D5_73SSAVvO6jmsx9m_Rjw-E05t%22%3B; PHPSESSID=ml50iomrscc82noav31g2uuaj0',
- 'PATH' => 'C:\\Program Files (x86)\\ActiveState Komodo Edit 5\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\TortoiseSVN\\bin;D:\\xampp\\php;C:\\Users\\dinesh\\AppData\\Local\\ComposerSetup\\bin',
- 'SystemRoot' => 'C:\\Windows',
- 'COMSPEC' => 'C:\\Windows\\system32\\cmd.exe',
- 'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
- 'WINDIR' => 'C:\\Windows',
- 'SERVER_SIGNATURE' => '
- Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 Server at localhost Port 80
- ',
- 'SERVER_SOFTWARE' => 'Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15',
- 'SERVER_NAME' => 'localhost',
- 'SERVER_ADDR' => '::1',
- 'SERVER_PORT' => '80',
- 'REMOTE_ADDR' => '::1',
- 'DOCUMENT_ROOT' => 'D:/xampp/htdocs',
- 'REQUEST_SCHEME' => 'http',
- 'CONTEXT_PREFIX' => '',
- 'CONTEXT_DOCUMENT_ROOT' => 'D:/xampp/htdocs',
- 'SERVER_ADMIN' => 'postmaster@localhost',
- 'SCRIPT_FILENAME' => 'D:/xampp/htdocs/Basic-RC/web/index.php',
- 'REMOTE_PORT' => '50256',
- 'GATEWAY_INTERFACE' => 'CGI/1.1',
- 'SERVER_PROTOCOL' => 'HTTP/1.1',
- 'REQUEST_METHOD' => 'POST',
- 'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=crud',
- 'REQUEST_URI' => '/Basic-RC/web/index.php?r=gii%2Fdefault%2Fview&id=crud',
- 'SCRIPT_NAME' => '/Basic-RC/web/index.php',
- 'PHP_SELF' => '/Basic-RC/web/index.php',
- 'REQUEST_TIME_FLOAT' => 1415250513.9319999217987060546875,
- 'REQUEST_TIME' => 1415250513,
- ];
- $_COOKIE = [
- '_csrf' => '3fca09129fd8e22c6a4bb0b0da8ebdfaca28cb2901fb466ca10e740b8322e008s:32:"N3EY4D5_73SSAVvO6jmsx9m_Rjw-E05t";',
- 'PHPSESSID' => 'ml50iomrscc82noav31g2uuaj0',
- ];
- Yii Framework
- 2014-11-06, 06:08:34
- Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15
- Yii Framework/2.0.1-dev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement