Can anyone help with this Magento error?

Fatal error: calling getArea () member function on a non-object in {Directory} /includes/src/Mage_Core_Model_App_Area.php on line 155

Cropped when I installed the extension that I wrote on a clean Magento installation. When it is ported to the dev server, it removed it and I cannot find where it came from. Disabling the extension does not change anything. Along with clearing the cache and all regular Magento Icons. I guaranteed that the rights to the files are correct, as far as I know.

+3
source share
2 answers

The file name in your error

Fatal error: Call to a member function getArea() on a non-object in {directory}/includes/src/Mage_Core_Model_App_Area.php on line 155

, Magento . Weird Things ™. , .

.

$ cd shell
$ php compiler.php  state

shell, compiler.php , . -

Compiler Status:          Enabled
Compilation State:        Compiled
Collected Files Count:    5602
Compiled Scopes Count:    4

complier,

$ php compiler.php disable

, script ,

File: includes/config.php

, Magento "" .

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

, # (/ script # #).

, (, , - , )

+4

path in/includes/src/, magento. , , - :

  • ( ACL)
+2

Source: https://habr.com/ru/post/1789147/


All Articles