Jump to content
X2Community Forums

Recommended Posts

Hello All,

 

Running into the below error, Google integration is working for login and emails. V6.6 @ PHP 5.6

 

Error 500

It looks like the application ran into an unexpected error. 

 

We apologize for the inconvenience and would like to do our best to fix this issue. If you would like to make a post on our forums we can actively interact with you in getting this resolved. If not, simply sending the error report helps us immensely and will only improve the quality of the software. Thanks!

Send Error Report

Here's a quick list of what will be included in the report:

 

Error Code: 500

Error Message: Invalid argument supplied for foreach()

Stack Trace: [click to toggle display]

PHP warning in /home/aspirete/public_html/x2crm/framework/web/helpers/CHtml.php(2525)

#0 /home/aspirete/public_html/x2crm/framework/web/helpers/CHtml.php(1983): listOptions()

#1 /home/aspirete/public_html/x2crm/framework/web/widgets/CActiveForm.php(914): activeDropDownList()

#2 /home/aspirete/public_html/x2crm/protected/modules/calendar/views/calendar/_form.php(123): CActiveForm->dropDownList()

#3 /home/aspirete/public_html/x2crm/framework/web/CBaseController.php(126): require()

#4 /home/aspirete/public_html/x2crm/framework/web/CBaseController.php(95): CalendarController->renderInternal()

#5 /home/aspirete/public_html/x2crm/framework/web/CController.php(869): CalendarController->renderFile()

#6 /home/aspirete/public_html/x2crm/protected/modules/calendar/views/calendar/create.php(72): CalendarController->renderPartial()

#7 /home/aspirete/public_html/x2crm/framework/web/CBaseController.php(126): require()

#8 /home/aspirete/public_html/x2crm/framework/web/CBaseController.php(95): CalendarController->renderInternal()

#9 /home/aspirete/public_html/x2crm/framework/web/CController.php(869): CalendarController->renderFile()

#10 /home/aspirete/public_html/x2crm/protected/controllers/x2base.php(727): CalendarController->renderPartial()

#11 /home/aspirete/public_html/x2crm/protected/modules/calendar/controllers/CalendarController.php(232): CalendarController->render()

#12 /home/aspirete/public_html/x2crm/framework/web/actions/CInlineAction.php(49): CalendarController->actionCreate()

#13 /home/aspirete/public_html/x2crm/framework/web/CController.php(308): CInlineAction->runWithParams()

#14 /home/aspirete/public_html/x2crm/framework/web/filters/CFilterChain.php(133): CalendarController->runAction()

#15 /home/aspirete/public_html/x2crm/protected/controllers/x2base.php(579): CFilterChain->run()

#16 /home/aspirete/public_html/x2crm/framework/web/filters/CInlineFilter.php(58): CalendarController->filterSetPortlets()

#17 /home/aspirete/public_html/x2crm/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter()

#18 /home/aspirete/public_html/x2crm/framework/web/filters/CFilter.php(40): CFilterChain->run()

#19 /home/aspirete/public_html/x2crm/framework/web/filters/CFilterChain.php(130): FileUploadsFilter->filter()

#20 /home/aspirete/public_html/x2crm/framework/web/filters/CFilter.php(40): CFilterChain->run()

#21 /home/aspirete/public_html/x2crm/framework/web/filters/CFilterChain.php(130): X2AjaxHandlerFilter->filter()

#22 /home/aspirete/public_html/x2crm/framework/web/CController.php(291): CFilterChain->run()

#23 /home/aspirete/public_html/x2crm/framework/web/CController.php(265): CalendarController->runActionWithFilters()

#24 /home/aspirete/public_html/x2crm/framework/web/CWebApplication.php(282): CalendarController->run()

#25 /home/aspirete/public_html/x2crm/framework/web/CWebApplication.php(141): X2WebApplication->runController()

#26 /home/aspirete/public_html/x2crm/framework/base/CApplication.php(185): X2WebApplication->processRequest()

#27 /home/aspirete/public_html/x2crm/index.php(65): X2WebApplication->run()

X2Engine Version: 6.6

PHP Version: 5.6.40

 

Email Address (optional)

 

 

 

Include phpinfo()? (optional, but recommended) 

 

 

Please Note: Any information in the $_GET or $_POST arrays included with the request will also be sent with the report.

Link to post
Share on other sites
  • 1 year later...

Hi,

 

Seem to be having the same problem, however Google Api is configured and working.

 

Currently getting an Error 500 on show calendar. Have created on, just refuses to show!

 

Update: Google API is NOT staying enabled after saving, so still getting same Error 500 for Calendar creation. Created another user and can create calendar, however System Admin can't!

 

Here's a quick list of what will be included in the report:

Error Code: 500
Error Message: Invalid argument supplied for foreach()
Stack Trace: [click to toggle display]

PHP warning in /home/gettalkingnz/public_html/crm/protected/modules/calendar/views/calendar/calendar.php(123)
#0 /home/gettalkingnz/public_html/crm/framework/web/CBaseController.php(126): require()
#1 /home/gettalkingnz/public_html/crm/framework/web/CBaseController.php(95): CalendarController->renderInternal()
#2 /home/gettalkingnz/public_html/crm/framework/web/CController.php(872): CalendarController->renderFile()
#3 /home/gettalkingnz/public_html/crm/protected/controllers/x2base.php(736): CalendarController->renderPartial()
#4 /home/gettalkingnz/public_html/crm/protected/modules/calendar/controllers/CalendarController.php(120): CalendarController->render()
#5 /home/gettalkingnz/public_html/crm/framework/web/actions/CInlineAction.php(49): CalendarController->actionIndex()
#6 /home/gettalkingnz/public_html/crm/framework/web/CController.php(308): CInlineAction->runWithParams()
#7 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilterChain.php(134): CalendarController->runAction()
#8 /home/gettalkingnz/public_html/crm/protected/controllers/x2base.php(586): CFilterChain->run()
#9 /home/gettalkingnz/public_html/crm/framework/web/filters/CInlineFilter.php(58): CalendarController->filterSetPortlets()
#10 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#11 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilter.php(40): CFilterChain->run()
#12 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilterChain.php(131): FileUploadsFilter->filter()
#13 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilter.php(40): CFilterChain->run()
#14 /home/gettalkingnz/public_html/crm/framework/web/filters/CFilterChain.php(131): X2AjaxHandlerFilter->filter()
#15 /home/gettalkingnz/public_html/crm/framework/web/CController.php(291): CFilterChain->run()
#16 /home/gettalkingnz/public_html/crm/framework/web/CController.php(265): CalendarController->runActionWithFilters()
#17 /home/gettalkingnz/public_html/crm/framework/web/CWebApplication.php(282): CalendarController->run()
#18 /home/gettalkingnz/public_html/crm/protected/components/X2WebApplication.php(65): X2WebApplication->runController()
#19 /home/gettalkingnz/public_html/crm/framework/base/CApplication.php(185): X2WebApplication->processRequest()
#20 /home/gettalkingnz/public_html/crm/index.php(67): X2WebApplication->run()

X2Engine Version: 8.0
PHP Version: 7.2.34

Email Address (optional)

Include phpinfo()? (optional, but recommended) 

Please Note: Any information in the $_GET or $_POST arrays included with the request will also be sent with the report.

 

Any suggestions would be greatly appreciated?

Edited by smurf291
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...