Getting a number of errors sighting "Notice: Undefined index: end-date in include()" or "Notice: Undefined index: summary in include()" on several lines of the file linkedin-user-page-position-item.tpl.php.
Notice: Undefined index: end-date in include() (line 29 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: end-date in include() (line 39 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: summary in include() (line 52 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: end-date in include() (line 29 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: end-date in include() (line 39 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: summary in include() (line 52 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: end-date in include() (line 29 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: end-date in include() (line 39 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Notice: Undefined index: summary in include() (line 52 of /path-to/public_html/sites/all/modules/linkedin/linkedin_profile/linkedin-user-page-position-item.tpl.php).
Any ideas on what the issue is or how to solve it?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | linkedin--2085277-3.patch | 10.95 KB | dom. |
| #2 | linkedin_7_1_x_e48d39_tpl_fixes.patch | 10.97 KB | brtamas |
| #1 | Error_Notice:_Undefined_index:_end-date_in_include()-[2085277].patch | 1.2 KB | neerajskydiver |
Comments
Comment #1
neerajskydiver commented"Notice: Undefined index: end-date in include()."
Error occurred due to, incomplete data populated from linked-in profile.
Apply this patch to fix this error.
Comment #2
brtamas commentedComment #3
dom. commentedPatch #3 introdices "endif parse error " in linkedin-user-page.tpl.php template file.
The patch attached is the same as #3, but this is corrected.