2013-07-19 42 views
0

我是Magento Development的新手。在Magento Pear文件夾中獲取嚴格標準錯誤

我有一個錯誤,當我試圖將我的Magento 1.4.2.1更新到Magento 1.7時,我收到嚴格標準通知。

我不能越過那些錯誤,除了禁用這些錯誤。

和我的Magento還沒有升級到1.7,

我想,這可能是由於這我禁用通知。

這我得到的錯誤是:

Strict Standards: Non-static method Maged_Pear::getInstance() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\Maged\Model\Pear.php on line 40 

Strict Standards: Non-static method Maged_Pear::getInstance() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\Maged\Model\Pear.php on line 40 

Strict Standards: Non-static method PEAR_Command::factory() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\Maged\Pear.php on line 231 

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\urban\downloader\Maged\Pear.php on line 231 

Strict Standards: Non-static method PEAR_Command::getFrontendObject() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\pearlib\php\PEAR\Command.php on line 142 

Strict Standards: Non-static method PEAR_Frontend::singleton() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\pearlib\php\PEAR\Command.php on line 175 

Strict Standards: Non-static method Maged_Pear::getInstance() should not be called statically, assuming $this from incompatible context in E:\xampp\htdocs\urban\downloader\Maged\Model\Pear.php on line 40 
+0

沒有得到任何更新,沒有人在Magento,誰可以solbe這個錯誤,並可以更新我的Magento。請不要給我像SSH一樣的解決方案,因爲我正在使用Windows平臺,並且我已經通過Shell命令行升級了PEAR。 –

+0

這與託管環境有關。所以請向您的託管公司尋求幫助。的 – oscprofessionals

+0

可能重複[嚴格的標準:只有變量應該通過引用傳遞(http://stackoverflow.com/questions/2354609/strict-standards-only-variables-should-be-passed-by-reference) –

回答

0

這些都是嚴格的警告,而不是錯誤。

你必須通過設置error_reporting不包括E_STRICT錯誤禁用它們在php.ini