Jump to content
X2Community Forums

Error 500 on New Installation


Recommended Posts

Hello there.

 

Installed the open-source version, get a 500 error on the main page.

 

I'm not professional IT, but relatively tech savvy, so I was able to get things installed, but can't read the stack trace sufficiently well to identify the problem.

 

Stack trace is as follows:

Error Code: 500
Error Message: Trying to access array offset on value of type null
Stack Trace: [click to toggle display]

PHP notice in /var/www/html/protected/models/Profile.php(1299)
#0 /var/www/html/framework/base/CComponent.php(111): Profile->getLastLogin()
#1 /var/www/html/framework/db/ar/CActiveRecord.php(145): Profile->__get()
#2 /var/www/html/framework/web/helpers/CHtml.php(2760): Profile->__get()
#3 /var/www/html/framework/web/helpers/CHtml.php(2483): resolveValue()
#4 /var/www/html/framework/web/helpers/CHtml.php(1540): activeInputField()
#5 /var/www/html/framework/zii/widgets/grid/CDataColumn.php(104): activeTextField()
#6 /var/www/html/framework/zii/widgets/grid/CGridColumn.php(253): CDataColumn->getFilterCellContent()
#7 /var/www/html/framework/zii/widgets/grid/CGridColumn.php(119): CDataColumn->renderFilterCellContent()
#8 /var/www/html/protected/components/X2GridView/X2GridViewBase.php(1061): CDataColumn->renderFilterCell()
#9 /var/www/html/protected/components/X2GridView/X2GridViewBase.php(1032): X2ActiveGridViewForSortableWidgets->renderFilterWithOptions()
#10 /var/www/html/protected/components/X2GridView/X2GridViewBase.php(784): X2ActiveGridViewForSortableWidgets->renderTableHeader()
#11 /var/www/html/framework/zii/widgets/CBaseListView.php(181): X2ActiveGridViewForSortableWidgets->renderItems()
#12 unknown(0): X2ActiveGridViewForSortableWidgets->renderSection()
#13 /var/www/html/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback()
#14 /var/www/html/protected/components/X2GridView/X2GridViewBase.php(660): X2ActiveGridViewForSortableWidgets->renderContent()
#15 /var/www/html/framework/web/CBaseController.php(182): X2ActiveGridViewForSortableWidgets->run()
#16 /var/www/html/protected/components/sortableWidget/views/_activeGridViewProfileWidget.php(40): ProfilesGridViewProfileWidget->widget()
#17 /var/www/html/framework/web/CBaseController.php(130): require()
#18 /var/www/html/framework/web/CBaseController.php(95): ProfilesGridViewProfileWidget->renderInternal()
#19 /var/www/html/protected/components/X2Widget.php(83): ProfilesGridViewProfileWidget->renderFile()
#20 /var/www/html/framework/web/widgets/CWidget.php(244): ProfilesGridViewProfileWidget->renderFile()
#21 /var/www/html/protected/components/sortableWidget/SortableWidget.php(955): ProfilesGridViewProfileWidget->render()
#22 /var/www/html/protected/components/sortableWidget/SortableWidget.php(911): ProfilesGridViewProfileWidget->renderWidgetContents()
#23 /var/www/html/protected/components/sortableWidget/views/profileWidget.php(48): ProfilesGridViewProfileWidget->renderWidget()
#24 /var/www/html/framework/web/CBaseController.php(130): require()
#25 /var/www/html/framework/web/CBaseController.php(95): ProfilesGridViewProfileWidget->renderInternal()
#26 /var/www/html/protected/components/X2Widget.php(83): ProfilesGridViewProfileWidget->renderFile()
#27 /var/www/html/framework/web/widgets/CWidget.php(244): ProfilesGridViewProfileWidget->renderFile()
#28 /var/www/html/protected/components/sortableWidget/SortableWidget.php(1056): ProfilesGridViewProfileWidget->render()
#29 /var/www/html/protected/controllers/x2base.php(838): ProfilesGridViewProfileWidget->run()
#30 /var/www/html/protected/components/sortableWidget/SortableWidget.php(398): ProfileController->widget()
#31 /var/www/html/protected/components/ProfileDashboardManager.php(146): instantiateWidget()
#32 /var/www/html/protected/components/views/profileDashboard.php(52): ProfileDashboardManager->displayWidgets()
#33 /var/www/html/framework/web/CBaseController.php(130): require()
#34 /var/www/html/framework/web/CBaseController.php(95): ProfileDashboardManager->renderInternal()
#35 /var/www/html/framework/web/widgets/CWidget.php(244): ProfileDashboardManager->renderFile()
#36 /var/www/html/protected/components/ProfileDashboardManager.php(89): ProfileDashboardManager->render()
#37 /var/www/html/protected/views/profile/profile.php(95): ProfileDashboardManager->renderContainer()
#38 /var/www/html/framework/web/CBaseController.php(126): require()
#39 /var/www/html/framework/web/CBaseController.php(95): ProfileController->renderInternal()
#40 /var/www/html/framework/web/CController.php(872): ProfileController->renderFile()
#41 /var/www/html/protected/controllers/x2base.php(736): ProfileController->renderPartial()
#42 /var/www/html/protected/controllers/ProfileController.php(1830): ProfileController->render()
#43 unknown(0): ProfileController->actionView()
#44 /var/www/html/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#45 /var/www/html/framework/web/actions/CInlineAction.php(47): CInlineAction->runWithParamsInternal()
#46 /var/www/html/framework/web/CController.php(308): CInlineAction->runWithParams()
#47 /var/www/html/framework/web/filters/CFilterChain.php(134): ProfileController->runAction()
#48 /var/www/html/protected/controllers/x2base.php(586): CFilterChain->run()
#49 /var/www/html/framework/web/filters/CInlineFilter.php(58): ProfileController->filterSetPortlets()
#50 /var/www/html/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#51 /var/www/html/framework/web/filters/CFilter.php(40): CFilterChain->run()
#52 /var/www/html/framework/web/CController.php(1148): CAccessControlFilter->filter()
#53 /var/www/html/framework/web/filters/CInlineFilter.php(58): ProfileController->filterAccessControl()
#54 /var/www/html/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#55 /var/www/html/protected/controllers/x2base.php(586): CFilterChain->run()
#56 /var/www/html/framework/web/filters/CInlineFilter.php(58): ProfileController->filterSetPortlets()
#57 /var/www/html/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#58 /var/www/html/framework/web/filters/CFilter.php(40): CFilterChain->run()
#59 /var/www/html/framework/web/filters/CFilterChain.php(131): FileUploadsFilter->filter()
#60 /var/www/html/framework/web/filters/CFilter.php(40): CFilterChain->run()
#61 /var/www/html/framework/web/filters/CFilterChain.php(131): X2AjaxHandlerFilter->filter()
#62 /var/www/html/framework/web/CController.php(291): CFilterChain->run()
#63 /var/www/html/framework/web/CController.php(265): ProfileController->runActionWithFilters()
#64 /var/www/html/framework/web/CWebApplication.php(282): ProfileController->run()
#65 /var/www/html/protected/components/X2WebApplication.php(65): X2WebApplication->runController()
#66 /var/www/html/framework/base/CApplication.php(185): X2WebApplication->processRequest()
#67 /var/www/html/index.php(67): X2WebApplication->run()

X2Engine Version: 8.0
PHP Version: 7.4.21

 

If someone could help me resolve this, it would be greatly appreciated!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...