Reports - Displayed Error

I have the following error display when running reports

: Undefined index: parameter_id occurred in /home/xxxxxxxx/public_html/xxxxxxxxx/modules/AOR_Reports/aor_utils.php on line 68 [2015-03-28 03:18:29] display_stack_trace caller, file: /home/xxxxxxxxxx/public_html/xxxxxxx/include/utils.php line#: 3254

Any ideas?

Hi DCPaus,

Undefined index is not a fatal type error so It will not affect script execution.

You should have directive directive - display_errors=Off; into php.ini file of your server.

This will stop error display in Browser.

1 Like

This is my php.ini

memory_limit = 512M
upload_limit = 254M
upload_max_filesize = 254M
post_max_size = 254M
safe_mode = off
date.timezone=β€œUTC”
display_errors = Off
error_reporting = E_ALL & ~E_NOTICE
log_errors = On
error_log = /php-errors.log
allow_call_time_pass_reference = Off

I am still seeing the errors - any suggestions?

Hi DCPaus,

It seems your php.ini setting being overridden by some other file.

Have a look at this post -

http://askubuntu.com/questions/578404/php-ini-display-errors-off-but-errors-still-outputted-to-browser

Regards,
Alpesh

1 Like

Hi Alpesh

I did not exactly find that error but I found that in my Config and Override_Congig files had
$sugar_config[β€˜stack_trace_s’] = true;

I changed this to
$sugar_config[β€˜stack_trace_s’] = false;

And now problem seems to be solved, I will keep an eye on this.