This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Siipis
So, I'm creating a basic plugin that takes care of various extensions I want to do to the Twig syntax. However it turns out that using the registerMarkupTags() function in Plugin.php is far from simple. Here's my function:
public function registerMarkupTags()
{
return [
'functions' => [
'session' => 'session',
],
];
}
Anyone got any idea why this causes a Bad Gateway error? I'm running the code on a local Linux server (Laravel's Homestead & Vagrant to be exact).
1-1 of 1