Extend / Install in the Dashboard blocked: Call to a member function clear() on null
Permalink 1 user found helpful
I can not open this section in the dashboard.
Message: Call to a member function clear() on null
C5 8.41
Theme Triada
Used Theme Casual with C5 7.5.13, now Triada
Updated by Folder updates in the Root from C5 7.5.13 to 8.21 to 8.41
PHP 7.2
Message: Call to a member function clear() on null
C5 8.41
Theme Triada
Used Theme Casual with C5 7.5.13, now Triada
Updated by Folder updates in the Root from C5 7.5.13 to 8.21 to 8.41
PHP 7.2
I am getting the same error after unlinking my the project from the community account,
Error thrown with message "Call to a member function clear() on null"
Stacktrace:
#30 Error in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:90
#29 Concrete\Core\Marketplace\Marketplace:isConnected in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:53
#28 Concrete\Core\Marketplace\Marketplace:setApplication in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Application/Application.php:431
#27 Concrete\Core\Application\Application:build in /opt/bitnami/apps/concrete5/htdocs/concrete/vendor/illuminate/container/Container.php:629
#26 Illuminate\Container\Container:make in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Support/Facade/Facade.php:118
#25 Concrete\Core\Support\Facade\Facade:__callStatic in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:135
#24 Concrete\Core\Marketplace\Marketplace:getInstance in /opt/bitnami/apps/concrete5/htdocs/concrete/single_pages/dashboard/extend/install.php:11
#23 include in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/View.php:233
#22 Concrete\Core\View\View:renderInnerContents in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/View.php:211
#21 Concrete\Core\View\View:renderViewContents in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/AbstractView.php:151
#20 Concrete\Core\View\AbstractView:render in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:148
#19 Concrete\Core\Http\ResponseFactory:view in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:215
#18 Concrete\Core\Http\ResponseFactory:controller in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:392
#17 Concrete\Core\Http\ResponseFactory:collection in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Routing/DispatcherRouteCallback.php:34
#16 Concrete\Core\Routing\DispatcherRouteCallback:execute in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultDispatcher.php:130
#15 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultDispatcher.php:57
#14 Concrete\Core\Http\DefaultDispatcher:dispatch in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/DispatcherDelegate.php:39
#13 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/ThumbnailMiddleware.php:71
#12 Concrete\Core\Http\Middleware\ThumbnailMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39
#10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/CookieMiddleware.php:37
#8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/ApplicationMiddleware.php:29
#6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareStack.php:86
#4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultServer.php:85
#3 Concrete\Core\Http\DefaultServer:handleRequest in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:119
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /opt/bitnami/apps/concrete5/htdocs/concrete/dispatcher.php:36
#0 require in /opt/bitnami/apps/concrete5/htdocs/index.php:3
Error thrown with message "Call to a member function clear() on null"
Stacktrace:
#30 Error in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:90
#29 Concrete\Core\Marketplace\Marketplace:isConnected in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:53
#28 Concrete\Core\Marketplace\Marketplace:setApplication in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Application/Application.php:431
#27 Concrete\Core\Application\Application:build in /opt/bitnami/apps/concrete5/htdocs/concrete/vendor/illuminate/container/Container.php:629
#26 Illuminate\Container\Container:make in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Support/Facade/Facade.php:118
#25 Concrete\Core\Support\Facade\Facade:__callStatic in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Marketplace/Marketplace.php:135
#24 Concrete\Core\Marketplace\Marketplace:getInstance in /opt/bitnami/apps/concrete5/htdocs/concrete/single_pages/dashboard/extend/install.php:11
#23 include in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/View.php:233
#22 Concrete\Core\View\View:renderInnerContents in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/View.php:211
#21 Concrete\Core\View\View:renderViewContents in /opt/bitnami/apps/concrete5/htdocs/concrete/src/View/AbstractView.php:151
#20 Concrete\Core\View\AbstractView:render in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:148
#19 Concrete\Core\Http\ResponseFactory:view in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:215
#18 Concrete\Core\Http\ResponseFactory:controller in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/ResponseFactory.php:392
#17 Concrete\Core\Http\ResponseFactory:collection in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Routing/DispatcherRouteCallback.php:34
#16 Concrete\Core\Routing\DispatcherRouteCallback:execute in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultDispatcher.php:130
#15 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultDispatcher.php:57
#14 Concrete\Core\Http\DefaultDispatcher:dispatch in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/DispatcherDelegate.php:39
#13 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/ThumbnailMiddleware.php:71
#12 Concrete\Core\Http\Middleware\ThumbnailMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39
#10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/CookieMiddleware.php:37
#8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/ApplicationMiddleware.php:29
#6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareDelegate.php:38
#5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/Middleware/MiddlewareStack.php:86
#4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Http/DefaultServer.php:85
#3 Concrete\Core\Http\DefaultServer:handleRequest in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:119
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /opt/bitnami/apps/concrete5/htdocs/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /opt/bitnami/apps/concrete5/htdocs/concrete/dispatcher.php:36
#0 require in /opt/bitnami/apps/concrete5/htdocs/index.php:3
Looks like this change
https://github.com/concrete5/concrete5/commit/5aafa0324d5b9f83553e26...
removed the local instance of $dbConfig
EDIT -
Created
https://github.com/concrete5/concrete5/issues/6956...
https://github.com/concrete5/concrete5/commit/5aafa0324d5b9f83553e26...
removed the local instance of $dbConfig
EDIT -
Created
https://github.com/concrete5/concrete5/issues/6956...
Thank you for your Message. In fact I realized after this, that I also cleaned up my project page in the community a few days before the error message occurred. Unfortunately I am not able to read and understand the program code for C5. So I decided to start the newest project from the newest C5 and not to update from an older 5.7-version to 8.4. Till now it works fine.
Ali
Ali
https://www.concrete5.org/community/forums/5-7-discussion/need-to-tu...