Just updated from 9.3.5 to 9.3.6 and everything seems to work fine except File Manager just gives me ‘an unknown error has occurred.’
I logged into the database and from the Log table get:
Exception Occurred: /home/www/yaddayadda/concrete/src/Search/Column/Set.php:89 Concrete\Core\Search\Column\Set::setDefaultSortColumn(): Argument #1 ($col) must be of type Concrete\Core\Search\Column\Column, null given, called in /home/www/yaddayadda/concrete/src/File/Search/ColumnSet/DefaultSet.php on line 76
This on PHP 8.3.6
Yes, I can confirm this bug in 9.3.6.
It has been posted as an issue by Nick Ratering in github at:
opened 07:59AM - 06 Nov 24 UTC
Type:Bug
### Affected Version of Concrete CMS
9.x
### Description
TypeError thrown wit… h message "Concrete\Core\Search\Column\Set::setDefaultSortColumn(): Argument #1 ($col) must be of type Concrete\Core\Search\Column\Column, null given, called in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/File/Search/ColumnSet/DefaultSet.php on line 76"
### How to reproduce
Updated from 9.3.5 to 9.3.6, then goto: index.php/dashboard/files/search
### Possible Solution
_No response_
### Additional Context
Stacktrace:
#29 TypeError in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Search/Column/Set.php:89
#28 Concrete\Core\Search\Column\Set:setDefaultSortColumn in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/File/Search/ColumnSet/DefaultSet.php:76
#27 Concrete\Core\File\Search\ColumnSet\DefaultSet:__construct in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/File/Search/SearchProvider.php:93
#26 Concrete\Core\File\Search\SearchProvider:getDefaultColumnSet in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Search/Query/QueryFactory.php:48
#25 Concrete\Core\Search\Query\QueryFactory:createQuery in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/controllers/single_page/dashboard/files/search.php:178
#24 Concrete\Controller\SinglePage\Dashboard\Files\Search:view in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Controller/AbstractController.php:318
#23 call_user_func_array in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Controller/AbstractController.php:318
#22 Concrete\Core\Controller\AbstractController:runAction in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/ResponseFactory.php:193
#21 Concrete\Core\Http\ResponseFactory:controller in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/ResponseFactory.php:372
#20 Concrete\Core\Http\ResponseFactory:collection in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/DefaultDispatcher.php:132
#19 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/DefaultDispatcher.php:60
#18 Concrete\Core\Http\DefaultDispatcher:dispatch in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/DispatcherDelegate.php:39
#17 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39
#16 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#15 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/StrictTransportSecurityMiddleware.php:36
#14 Concrete\Core\Http\Middleware\StrictTransportSecurityMiddleware:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#13 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/ContentSecurityPolicyMiddleware.php:36
#12 Concrete\Core\Http\Middleware\ContentSecurityPolicyMiddleware:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/CookieMiddleware.php:35
#10 Concrete\Core\Http\Middleware\CookieMiddleware:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/ApplicationMiddleware.php:29
#8 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/Middleware/MiddlewareStack.php:86
#6 Concrete\Core\Http\Middleware\MiddlewareStack:process in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Http/DefaultServer.php:85
#5 Concrete\Core\Http\DefaultServer:handleRequest in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:128
#4 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#3 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /public_html/updates/concrete-cms-9.3.6-remote-updater/concrete/dispatcher.php:45
#2 require in /public_html/concrete/bootstrap/configure.php:55
#1 require in /public_html/concrete/dispatcher.php:13
#0 require in /public_html/index.php:2
1 Like
As a temporary workaround, you can add:
'file_manager' => [
'sort_column' => 'name',
],
into your application/config/concrete.php in between the brackets of return [ ];
Edit: Just realized there’s not a default stub for this, so if you have no concrete.php there, make it and the entire contents would be:
<?php
return [
'file_manager' => [
'sort_column' => 'name',
],
];
2 Likes
enlil
November 6, 2024, 10:11am
4
@mlocati has submitted a pull request to fix, so an easy patch for anyone already on 9.3.6. I expect @andrew will be releasing 9.3.7 once Oregon wakes up.
There is also a fix by @hissy for the top nav bar.
concretecms:9.3.x
← mlocati:patch-1
opened 10:33AM - 06 Nov 24 UTC
Steevb
November 6, 2024, 2:11pm
6
Same here. Four sites down!
andrew
November 6, 2024, 2:55pm
7
We have just released 9.3.7, which should fix this issue.
5 Likes