CMS MADE SIMPLE FORGE

CGContentUtils

 

[#12501] Fatal Error

avatar
Created By: Reto Corrodi (gardapro)
Date Submitted: Wed Dec 08 03:59:37 -0500 2021

Assigned To: Robert Campbell (calguy1000)
Version: 2.5.4
CMSMS Version: 2.2.15
Severity: Critical
Resolution: None
State: Open
Summary:
Fatal Error
Detailed Description:
Fatal error: Uncaught TypeError: Argument 1 passed to
CGExtensions\content_list_builder::__construct() must be an instance of
cms_content_tree, array given, called in
/home/tannerga/public_html/modules/CGContentUtils/CGContentUtils.module.php on
line 400 and defined in
/home/tannerga/public_html/modules/CGExtensions/lib/class.content_list_builder.php:99
Stack trace: #0
/home/tannerga/public_html/modules/CGContentUtils/CGContentUtils.module.php(400):
CGExtensions\content_list_builder->__construct(Array) #1
/home/tannerga/public_html/lib/classes/contenttypes/Content.inc.php(605):
CGContentUtils->GetContentBlockFieldInput('infoblock__link', NULL, Array, false,
Object(Content)) #2
/home/tannerga/public_html/lib/classes/contenttypes/Content.inc.php(642):
Content->_display_module_block('infoblock__link', Array, NULL, false) #3
/home/tannerga/public_html/lib/classes/contenttypes/Content.inc.php(460):
Content->display_content_block('infoblock__link', Array, NULL, false) #4
/home/tannerga/public_html/lib/classes/class.ContentBase. in
/home/tannerga/public_html/modules/CGExtensions/lib/class.content_list_builder.php
on line 99


History

Comments
avatar
Date: 2021-12-08 04:01
Posted By: Reto Corrodi (gardapro)

This happens when trying to open a page in content managment
      
avatar
Date: 2021-12-08 04:02
Posted By: Reto Corrodi (gardapro)

with Version 2.5.3 it works.
PHP 7.4
      
Updates

Updated: 2021-12-08 04:01
resolution_id: => 5