Buy Now
Sign in

Undefined index: color, and other PHP warnings

2D77rus , January 14 2020, 13:06
2D77rus 50
January 14 2020, 13:06 #390718
I've noticed following warnings some time ago, but now on production server they are annoying:
PHP Notice:  Undefined index: color in /opt/joomla/libraries/cegcore2/admin/extensions/chronofc/themes/default/views/list-item.php on line 9, referer: https://xxxxxx/administrator/index.php?option=com_chronoconnectivity6&cont=connections

PHP Notice: Undefined index: plugins in /opt/joomla/administrator/components/com_chronoconnectivity6/chronoconnectivity/themes/default/views/connections/edit.php on line 328, referer: https://xxxxxx/administrator/index.php?option=com_chronoconnectivity6&cont=connections

PHP Warning: Invalid argument supplied for foreach() in /opt/joomla/libraries/cegcore2/admin/extensions/chronofc/themes/default/views/list-item.php on line 5, referer: https://xxxxxx/administrator/index.php?option=com_chronoconnectivity6&cont=connections
Could this be fixed?
CC6 v.6.0.12
CC6 plugin v.6.0
CEGCore2 library v.2.0.12
PHP 7.1.26
GreyHead 64
January 14 2020, 14:35 #390719
Hi 2D77rus,
The immediate fix is to set your Site Error Reporting to System Default or to None - that will hide PHP warnings.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
2D77rus 50
January 14 2020, 17:46 #390724
Yep, thanks, and I'd appreciate if this will be fixed in future versions.