Summary:
Unable to Install Module (in latest version 2.2.8)
Detailed Description:
[31-Jul-2018 20:02:38 Europe/London] PHP Fatal error: Uncaught TypeError:
Argument 1 passed to CGBetterForms\TemplateFormScanner::__construct() must be an
instance of CGBetterForms, instance of Smarty_CMS given, called in
/home/mpdamppr/public_html/modules/CGBetterForms/method.install.php on line 46
and defined in
/home/mpdamppr/public_html/modules/CGBetterForms/lib/class.TemplateFormScanner.php:8
Stack trace:
#0 /home/mpdamppr/public_html/modules/CGBetterForms/method.install.php(46):
CGBetterForms\TemplateFormScanner->__construct(Object(Smarty_CMS),
Object(CmsLayoutTemplate))
#1 /home/mpdamppr/public_html/modules/CGBetterForms/method.install.php(63):
CMSModule->{closure}(Object(CGBetterForms\Form), Object(Smarty_CMS))
#2 /home/mpdamppr/public_html/lib/classes/class.CMSModule.php(1001):
include('/home/mpdamppr/...')
#3 /home/mpdamppr/public_html/lib/classes/class.moduleoperations.inc.php(468):
CMSModule->Install()
#4 /home/mpdamppr/public_html/lib/classes/class.moduleoperations.inc.php(535):
ModuleOperations->_install_module(Object(CGBetterForms))
#5 /home/mpdam in
/home/mpdamppr/public_html/modules/CGBetterForms/lib/class.TemplateFormScanner.php
on line 8