Open pr0woKator opened 6 years ago
Hi,
I hat to change in "/system/library/dotpay/TemplateLoader.php" line 63.
from
$template = new \Template($this->registry->get('config')->get('template_engine'));
to
$template = new \Template($this->registry->get('config')->get('template_engine'),$this->registry);
I'm not a web developer and I didn't go through the entire code but in file "/storage/modification/system/library/template.php" line 24
public function __construct($adaptor, $registry)
requires two arguments and logicaly
$adaptor is _$this->registry->get('config')->get('templateengine')
$registry is $this->registry
After such change, cache cleanup, "Płatność z Dotpay" seems to work.
I hope developers of this module would review that and include this in the code (if this is a proper fix) or fix it properly :)