Back to Modular Theme with PAGE BUILDER - Clear Support

dev64420
dev64420

Hi, Just installed the Clear on my existing October CMS build when I go to the site it's giving me this error:

Type error: Argument 1 passed to Twig\Source::__construct() must be of the type string, null given, called in /var/www/blog.medigap360.com/modules/cms/twig/Loader.php on line 56

28 29 30 31 32 33 34 35 36

/**
 * @param string $code The template source code
 * @param string $name The template logical name
 * @param string $path The filesystem path of the template if any
 */
public function __construct(string $code, string $name, string $path = '')
{
    $this->code = $code;
    $this->name = $name;
    $this->path = $path;
}

I am not a coder by any means, can you please give me some guidance and help? thanks.

Charis
Charis

dev64420 said:

Hi, Just installed the Clear on my existing October CMS build when I go to the site it's giving me this error:

Type error: Argument 1 passed to Twig\Source::__construct() must be of the type string, null given, called in /var/www/blog.medigap360.com/modules/cms/twig/Loader.php on line 56

28 29 30 31 32 33 34 35 36

/**

  • @param string $code The template source code
  • @param string $name The template logical name
  • @param string $path The filesystem path of the template if any */ public function __construct(string $code, string $name, string $path = '') { $this->code = $code; $this->name = $name; $this->path = $path; } I am not a coder by any means, can you please give me some guidance and help? thanks.

Hello!
Using clean install on latest Octobercms build 471 i don't get any error. What version do you use?

1-2 of 2