Skip to content

PHP Fatal error: Cannot declare class DLTemplate #10

@ivan-s-1

Description

@ivan-s-1
  1. Установил Evolution 2 отсюда
    https://github.com/evolution-cms/evolution

  2. На сервере установлен php 7.1

  3. Установил ваш модуль последнею версию.

При попытки открыть модуль, в админки показывается ошибка Error, где должны выводиться модуль.

Ошибка из логов.

2019/08/05 13:04:03 [error] 16414#16414: *94 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class DLTemplate, because the name is already in use in /var/www/local-website/my-site-evolution.ru/assets/snippets/DocLister/lib/DLTemplate.class.php on line 8" while reading response header from upstream, client: 10.0.2.2, server: my-site-evolution.ru, request: "GET /manager/?a=112&id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "my-site-evolution.ru", referrer: "http://my-site-evolution.ru/manager/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions