Closed saalam closed 1 year ago
The most of this messages are not related to this plugin:
[17-Feb-2023 18:08:50 Asia/Baghdad] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/plugins/generic/dublinCoreMeta/DublinCoreMetaPlugin.inc.php on line 155
is related to the DublinCoreMetaPlugin.
[17-Feb-2023 18:09:10 Asia/Baghdad] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 36 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99
are related to OJS (PKP Lib).
[17-Feb-2023 18:09:10 Asia/Baghdad] PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /public_html/plugins/generic/citations/CitationsPlugin.inc.php on line 49
This is related to this plugin and I can fix it in the next version.
Describe the bug As we upgraded our OJS from 3.3.0-13 to 3.3.0-14. everything is working fine except the log file are keep loading these deprecation messages in PHP 8.1 which make the size of the log file very large. How can I solve this issue? You help is highly apricated. Kind Regards,
For OJS 3.3.0-14 and PHP 8.1.x
[17-Feb-2023 18:08:50 Asia/Baghdad] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/plugins/generic/dublinCoreMeta/DublinCoreMetaPlugin.inc.php on line 155 [17-Feb-2023 18:09:10 Asia/Baghdad] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 36 [17-Feb-2023 18:09:10 Asia/Baghdad] PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /public_html/plugins/generic/citations/CitationsPlugin.inc.php on line 49 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99 [17-Feb-2023 18:09:17 Asia/Baghdad] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/lib/pkp/classes/citation/Citation.inc.php on line 99
To Reproduce Steps to reproduce the behavior:What application are you using? OJS/OPS or OMP version X.X.X
Additional information Please add any screenshots, logs or other information we can use to investigate this bug report.