Compile Error: Cannot declare class Marlev\Component\Tmarlevv2\Administrator\Helper\ml_layout, because the name is already in use (500 Whoops, looks like something went wrong.)

Compile Error: Cannot declare class Marlev\Component\Tmarlevv2\Administrator\Helper\ml_layout, because the name is already in use

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1. use Joomla\CMS\Factory;
  2. //include 'options_options.php';
  3. //include 'device_options.php';
  4. class ml_layout
  5. {
  6.     public $getlayout;
  7.     public $layout;
  8.     public $template_name;

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot declare class Marlev\Component\Tmarlevv2\Administrator\Helper\ml_layout, because the name is already in use

  at /home/zslkyuwa/public_html/administrator/components/com_tmarlevv2/src/Helper/layout.php:23