SMFHacks.com
Modifications/Themes => General SMF Forum => Topic started by: SMFHacks on October 28, 2018, 06:35:22 pm
-
Using SMF 2.0.X on php 7.2
Your error log fill up fast unless you make these changes
open index.php change
error_reporting(E_ALL);
To
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
Find
set_error_handler('error_handler');
Change to
set_error_handler('error_handler',E_ALL & ~E_DEPRECATED & ~E_NOTICE);
open ssi.php
Change
$ssi_error_reporting = error_reporting(E_ALL);
To
$ssi_error_reporting = error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);