Alerts don't work on Suitecrm 7.5.3

Hello,

I just install Suitecrm, every thing is working nice, but after creating calls and meeting i notice that notifications and alerts donā€™t work, after investigating the error logs i found this:

mod_fcgid: stderr: PHP Notice: Undefined index: record_type_display in /var/www/vhosts/domain.com/domain.com/modules/Meetings/Meeting.php on line 443, referer: http://domain.com/?action=ajaxui
[Sun Apr 17 21:58:52 2016] [warn] [client ] mod_fcgid: stderr: PHP Notice: Undefined index: record_type_display in /var/www/vhosts/webversatil.com/domian.com/modules/Calls/Call.php on line 387, referer: http://domain.com/?action=ajaxui

In the line 387 i found this
$parent_types = $app_list_strings[ā€˜record_type_displayā€™];

Thank you in advance.

I think in that line what you found was this

$parent_types = $app_list_strings[record_type_display];

Right?

record_type_display should be defined in include/language/en_us_lang.php , can you find it there?

I have version 7.5.2 and I notice that this file is changed in 7.5.3 by checking SuiteCRMā€™s Github. Maybe something got broken in the changeā€¦

Hello,

Thank you for your response, i checked the en_us.lang.php file and i found this in line 460


//	 it is the key for the default record_type_module value
    'record_type_default_key' => 'Accounts',
    'record_type_display' => array(
            '' => '',
            'Accounts' => 'Account',
            'Opportunities' => 'Opportunity',
            'Cases' => 'Case',
            'Leads' => 'Lead',
            'Contacts' => 'Contact', // cn (11/22/2005) added to support Emails

            'Bugs' => 'Bug',
            'Project' => 'Project',

            'Prospects' => 'Target',
            'ProjectTask' => 'Project Task',

            'Tasks' => 'Task',

        ),

But i didnā€™t found

$app_list_strings[record_type_display];

I checked the error log again and i found more errors:

mod_fcgid: stderr: PHP Notice: Undefined index: labelsAndValues in /var/www/vhosts/domain.com/modules/Charts/Dashlets/PipelineBySalesStageDashlet/PipelineBySalesStageDashlet.php on line 125, referer: http://domain.com/index.php?action=ajaxui

Im using Plesk 12.5 as control panel

PHP 5.4.45 (cli) (built: Jan 12 2016 18:09:07)
Copyright Ā© 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright Ā© 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright Ā© 2002-2014, by ionCube Ltd.

nginx version: nginx/1.9.4

Server version: Apache/2.2.15 (Unix)
Server built: Mar 22 2016 19:03:53

In en_us.lang.php, on line 53 you find the assignment to $app_list_strings, that is what is being assigned in that segment you pasted from line 460 (and following). So the values should be there in $app_list_strings.

Line 387 of Call.php should be

		$parent_types = $app_list_strings['record_type_display'];

(with apostrophes, I neglected to include them in my previous post).

Are you using a language pack? This might be an issue with a translation pack.

Thank you for your answer,

I just replaced

$parent_types = $app_list_strings[record_type_display];

with $parent_types = $app_list_strings; in the line 387 but the problem presist now i receive new error after this change

mod_fcgid: stderr: PHP Notice: Array to string conversion in /var/www/vhosts/dominiocom/include/utils.php on line 1598, referer: http://dominio.com/index.php?action=ajaxui

about the language pack i have the spanish language instaled, i tried with new instalation in diferent directory but i receive the same errors.

Iā€™m sorry, but there is something wrong with these posts. Even though I used the ā€œcodeā€ tags, it seems some characters are being deleted from what I posted (and possibly from what you posted before, also). Everything inside square brackets is goneā€¦

Line 387 should simply be like line 387 is here:
https://github.com/salesagility/SuiteCRM/blob/master/modules/Calls/Call.php

From what I know now, youā€™ll probably find that your files are exactly like they should be, only the forums here were misguiding us. Your bug must be something elseā€¦

Maybe these PHP Notices donā€™t mean much. Theyā€™re not errorsā€¦ You might want to look for your problem elsewhereā€¦

Hello,

I have it exactly like in https://github.com/salesagility/SuiteCRM/blob/master/modules/Calls/Call.php but the problem presist.

I didnt modify any file after the instalation.