*

Vlad7

  • ****
  • 244 posts
error in sending the letter
« on: December 06, 2021, 04:10:38 PM »
Hello, the plugin generates an error when the user sends a message. Osclass8, PHP8

[06-Dec-2021 16:55:30 Europe/Kiev] PHP Warning:  Undefined array key "size" in /home2/ukagroco/public_html/oc-content/plugins/instant_messenger/functions.php on line 279

Marked as best answer by frosticek on December 06, 2021, 06:59:31 PM
*

MB Themes

Re: error in sending the letter
« Reply #1 on: December 06, 2021, 04:12:52 PM »
@Vlad7
Thanks, just open that file and change:
Code: [Select]
  $file_size = $file['size'];

into:
Code: [Select]
  $file_size = @$file['size'];
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vlad7

  • ****
  • 244 posts
Re: error in sending the letter
« Reply #2 on: December 06, 2021, 04:16:50 PM »
@Vlad7
Thanks, just open that file and change:
Code: [Select]
  $file_size = $file['size'];

into:
Code: [Select]
  $file_size = @$file['size'];

OK, thank you