A lot of PHP warnings

Hi,

first I'd like to apologize for asking so many questions last few days but it is also kind of a Feedback to UNA Team after we upgrade our UNA instance and also modules upgrade....

So please can someone help me out with this two php errors/warnings in apache2 error.log for una site:

1.

PHP Warning:  Undefined array key "clicked" in /una/modules/boonex/notifications/classes/BxNtfsTemplate.php on line 275 

and the line 275 in "BxNtfsTemplate.php" is:

'condition' => $bClickedIndicator && (int)$aEvent['clicked'] != 0,

2.

AH01071: Got error 'PHP message:
PHP Warning: Undefined array key "thumb_id" in /una/cache/bx_templ_en_artificer_0d8e7470938cae007667a647b5706cfc.php on line 31
PHP message: PHP Warning: Undefined array key "name_thumb" in /una/cache/bx_templ_en_artificer_0d8e7470938cae007667a647b5706cfc.php on line 39
PHP message: PHP Warning: Undefined array key "name_thumb" in /una/cache/bx_templ_en_artificer_0d8e7470938cae007667a647b5706cfc.php on line 40'

and lines 39 and 40 are:

// select first image as a thumb by default

  if (! echo $a['content_id'];?> && 1 == $('input[name="name_thumb'];?>[]"]').length)
    $('input[name="name_thumb'];?>[]"]').attr('checked', true);

Plese help me out to solve this problems....

PS: the truth is that after upgrade until today's complete restart of a server there was a lot of "red" thumbnails for the post without image it looks like this:

gheii6txjcu8wrvhn7mucyrzxyvdxhk8.png

Mayki

  • 465
  • More
Attachments
Replies (2)
    Login or Join to comment.