*

mwindey

  • *****
  • 478 posts
Apache warning undefined variable in php8
« on: November 03, 2022, 12:22:04 PM »
Only apache warning so nothing serious .... Maybe this can be fixed later...

Backend log: PHP Warning:  Undefined variable $mail_block in /home/u4****p*****5/domains/***.be/public_html/oc-content/plugins/spam/functions.php on line 282\n, referer: https://****.be/item/edit/389/

Marked as best answer by frosticek on November 03, 2022, 04:14:30 PM
*

MB Themes

Re: Apache warning undefined variable in php8
« Reply #1 on: November 03, 2022, 12:59:39 PM »
@mwindey
Thanks, just add:
Code: [Select]
$mail_block = false;
i.e. on line 110.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 478 posts
Re: Apache warning undefined variable in php8
« Reply #2 on: November 03, 2022, 01:11:30 PM »
@MB Themes

 :P thanks again