CMS MADE SIMPLE FORGE

CGContentUtils

 

[#12363] Advanced Page Selector option

avatar
Created By: Andrew (andrewvideouk)
Date Submitted: Sun Sep 06 11:46:48 -0400 2020

Assigned To: Robert Campbell (calguy1000)
Version: 2.5.4
CMSMS Version: 2.2.14
Severity: Major
Resolution: None
State: Open
Summary:
Advanced Page Selector option
Detailed Description:
Advanced Page Selector option is breaking the Content Manager when you try edit
a page;

Add this to the tempate
{content_module module=CGContentUtils block="more_link_page"}

Get this

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/backdrop/public_html/test/modules/CGContentUtils/CGContentUtils.module.php
on line 400 and defined in
/home/backdrop/public_html/test/modules/CGExtensions/lib/class.content_list_builder.php:99
Stack trace: #0
/home/backdrop/public_html/test/modules/CGContentUtils/CGContentUtils.module.php(400):
CGExtensions\content_list_builder->__construct(Array) #1
/home/backdrop/public_html/test/lib/classes/contenttypes/Content.inc.php(605):
CGContentUtils->GetContentBlockFieldInput('more_link_page', NULL, Array, false,
Object(Content)) #2
/home/backdrop/public_html/test/lib/classes/contenttypes/Content.inc.php(642):
Content->_display_module_block('more_link_page', Array, NULL, false) #3
/home/backdrop/public_html/test/lib/classes/contenttypes/Content.inc.php(460):
Content->display_content_block('more_link_page', Array, NULL, false) #4
/home/backdrop/public_html/tes in
/home/backdrop/public_html/test/modules/CGExtensions/lib/class.content_list_builder.php
on line 99



History