CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11868] Unable to Install Module (in latest version 2.2.8)

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Tue Jul 31 15:05:08 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 1.6.1
CMSMS Version: 2.2.8
Severity: Critical
Resolution: Fixed
State: Open
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


History

Comments
avatar
Date: 2018-08-03 17:36
Posted By: Matt Hornsby (DIGI3) (DIGI3)

Tested in 2.2.7 and 2.2.8, verified.

Workaround is to install CGBF 1.5, then upgrade to 1.6.1. May need to delete
moduleinfo.ini to remove "database version newer" message.
      
avatar
Date: 2018-08-11 09:57
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2018-08-11 09:57
resolution_id: => 7