@asmecher escapeshellarg fumction is already disabled as per above value.. what should we do to resolve this issue and push our submission forward.
Hi @hassanwaheed,
That is the problem – the function is disabled. It needs to be enabled.
Regards,
Alec Smecher
Public Knowledge Project Team
@asmecher there is a typo in last cc comment.. as per php.ini value function is already enabled.. as you can see it’s not included in disable_functions..
Hi @hassanwaheed,
If you’re still getting the same error message, log into OJS as an administrator and go to Administration > System Information > Extended PHP Information. Check the disable_functions setting there.
Regards,
Alec Smecher
Public Knowledge Project Team
@asmecher here is the screenshot from the said location

Hi @hassanwaheed,
Have you tried uploading a new file to see if the same error message appears? I suspect it does not, or if a message appears, it is different.
Note that the other disable_functions entries listed may also be used by OJS or by its dependencies. Normally these are part of a standard PHP environment.
Regards,
Alec Smecher
Public Knowledge Project Team
@asmecher You are right.. current errors are:
[12-Sep-2025 03:31:42 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:31:56 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:34:56 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:37:01 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:38:56 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:39:24 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:40:24 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:40:25 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:40:26 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:43:15 UTC] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[12-Sep-2025 03:43:15 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Request.php on line 1019
[12-Sep-2025 03:43:15 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/rxcompound8949/public_html/ojs-3.4/lib/pkp/lib/vendor/slim/slim/Slim/Http/Request.php on line 1019
Should we resolve that as well?
Hi @hassanwaheed,
Those are just warnings; if you’re still encountering problems, I suspect that if you look further back in the log you’ll find something more relevant with the word Error, Fatal, or Exception as part of the message.
Regards,
Alec Smecher
Public Knowledge Project Team
This topic was automatically closed after 12 days. New replies are no longer allowed.