Posts Tagged with php error

Displaying 1-3 of 3 results.
Resolved: Yii 1.1 yii alias module is invalid
posted by admin on October 10, 2016
I had module
After renaming it to stores.
in controller StoreModule to StoresModule and in main.php min modules array store to stores
I have got this error

Alias "stores.StoresModule" is invalid. Make sure it points to an existing PHP file and the file is readable.
Read more
Resolved: Parse error: syntax error, unexpected '[', expecting ')'
posted by admin on June 3, 2016
I have error in oscarotero Embed APP.Read more
Resolved: error :should not be called statically, assuming $this from incompatible context. only on my machine
posted by admin on June 3, 2016
My team members wrote the model function calls in the controller statically such as:

$data = ModelName::functionName($param);

while it should be called dynamically such as:

$model = new Model();
$data = $model->functionName($param);

mostly all the calls are made statically. the code is working on the server and on their local machines except for mine. And the static calls are too many to fix without rewriting huge code base.

I always update my project via composer. My php version is 5.4.

anyone might know what this is about?Read more