This comes up in the top of the search page

This comes up in the top of the search page

Deprecated : parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/httpd/vhosts/xxxx.se/httpdocs/cache/t_compile/dcad04d067102921b551f50369ebd94b22dcb2ba^756a7119cb48731a8fd45c250b45f4bcca2d6b01_0.app.frontendpagessearch.tpl.php on line 44

Hi @gdienne,

Can you please indicate which version/software you’re using (e.g. OJS 3.3.0-13) ?

-Roger
PKP Team

Hi,
Sorry, Its the latest version 3.4.0.4

In the top off the main section, between the title Search and where you put your searchtext.

Hello @gdlenne

Sorry, did you find a solution for the error you were experiencing?
I am using OJS version 3.3.0.19 PHP 8.2. Attached is evidence of the error log:

2024/12/11 14:51:31 [error] 688529#688529: *5969427 FastCGI sent in stderr: "PHP message: PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /plugins/generic/citations/CitationsPlugin.inc.php on line 49" while reading response header from upstream, client: 178.156.144.232, request: "GET /article/view/2386 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:"
2024/12/11 14:52:10 [error] 688532#688532: *5969651 FastCGI sent in stderr: "PHP message: PHP Deprecated:  parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /cache/t_compile/f09822d526ba2b77dee1b6fa34cba9dcc80abebc^756a7119cb48731a8fd45c250b45f4bcca2d6b01_0.app.frontendpagessearch.tpl.php on line 50" while reading response header from upstream, client: 20.15.133.175, request: "GET /search/search?query=enterado HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:",

I appreciate any comments. Regards,

Hi all,

This error appears in various places in various releases of OJS, OMP, and OPS.

If you’re encountering the issue for a branch not listed above, it’s probably already been fixed in the latest release. Upgrading to the latest release will likely solve the problem.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hello,

Thank you for your comments. I confirm that applying it manually resolved the search error.

Best regards

1 Like