CMS MADE SIMPLE FORGE

CGContentUtils

 

[#12242] Page Selector field causes error

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Fri Jan 10 12:15:11 -0500 2020

Assigned To:
Version: 2.5.4
CMSMS Version: 2.2.13
Severity: None
Resolution: Fixed
State: Open
Summary:
Page Selector field causes error
Detailed Description:
After upgrading CGExtensions to the latest version (1.65.1 as of now) the Page
Selector field is no longer available to CGContentUtilities, only the Advanced
Page Selector is. This is workable on new installs, but on upgrades accessing
the module or editing a content page gives the error:

Invalid input passed to CGContentUtils\ContentBlock::from_array (when editing a
page)

and when accessing the module:

Fatal error: Uncaught InvalidArgumentException: Invalid input passed to
CGContentUtils\ContentBlock::from_array in
/var/www/path/modules/CGContentUtils/lib/class.ContentBlock.php:251 Stack trace:
#0 /var/www/path/modules/CGContentUtils/lib/class.BlockManager.php(79):
CGContentUtils\ContentBlock::from_array(Array) #1
/var/www/path/modules/CGContentUtils/lib/class.BlockManagerCacheDecorator.php(39):
CGContentUtils\BlockManager->load_all() #2
/var/www/path/modules/CGContentUtils/action.admin_blocks_tab.php(48):
CGContentUtils\BlockManagerCacheDecorator->load_all() #3
/var/www/path/modules/CGContentUtils/action.defaultadmin.php(62):
include('/var/www/vhosts...') #4
/var/www/path/lib/classes/class.CMSModule.php(1403):
include('/var/www/vhosts...') #5 /var/www/path/modules/CGExtensions/CGExtens in
/var/www/path/modules/CGContentUtils/lib/class.ContentBlock.php on line 251


History

Comments
avatar
Date: 2020-01-23 03:31
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
avatar
Date: 2020-09-06 12:21
Posted By: Andrew (andrewvideouk)

SVN link don't work. Can we have a new link please. Cheers
      
Updates

Updated: 2020-01-23 03:31
resolution_id: => 7