How to solve this error_log

Hello
I have these mistakes how can I solve it :

[23-Sep-2018 08:37:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/g7z6vpm8t65q/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[23-Sep-2018 08:37:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/g7z6vpm8t65q/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263
[23-Sep-2018 08:37:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/g7z6vpm8t65q/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359
[23-Sep-2018 08:37:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/g7z6vpm8t65q/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[23-Sep-2018 08:37:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/g7z6vpm8t65q/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/g7z6vpm8t65q/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Notice: Only variables should be passed by reference in /home/g7z6vpm8t65q/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/g7z6vpm8t65q/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/g7z6vpm8t65q/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 65
[23-Sep-2018 08:37:11 UTC] PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/g7z6vpm8t65q/public_html/classes/article/SubmissionFileDAO.inc.php on line 23

Those are only cosmetic errors. You can hide them by changing your error logging settings. See for example Error from 2.4.8 to 3.0.2 - #2 by ajnyga