Skip to content

Constant error when running pub/index.php #588

Closed
@ldusan84

Description

@ldusan84

When I run pub/index.php I get the following error:

Fatal error: Undefined class constant 'PUB_LIB_DIR' in /var/www/magento2/pub/index.php on line 33

On line 33 of pub/index.php there is:

$params[Filesystem::PARAM_APP_DIRS][Filesystem::PUB_LIB_DIR] = array('uri' => 'lib');

And the constant Filesystem::PUB_LIB_DIR does not exist in Magento\Framework\App\Filesystem. So I think that line is not needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions