hnhx / librex

Framework and javascript free privacy respecting meta search engine
GNU Affero General Public License v3.0
775 stars 87 forks source link

Not showing results for simple query #273

Closed Jogai closed 10 months ago

Jogai commented 11 months ago


2023/10/31 08:29:15 [error] 24#24: *1 FastCGI sent in stderr: "
PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/engines/special/wikipedia.php on line 10
PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/engines/special/wikipedia.php on line 10
PHP message: PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/engines/special/wikipedia.php on line 10
PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/engines/special/wikipedia.php on line 10
PHP message: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/engines/special/wikipedia.php on line 12
PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/html/engines/special/wikipedia.php on line 14
PHP message: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/engines/special/wikipedia.php on line 26" 
while reading response header from upstream, client: xxx.0.0.xxx, server: xxx.0.0.xxx, 
request: "GET /search.php?q=vue&t=0&p=0 HTTP/1.1", 
upstream: "fastcgi://unix:/run/php7/php-fpm7.sock:", host: "xxx.xxx"
davidovski commented 11 months ago

Hi, I'm not sure what the issue is here, however it doesnt seem to be present in LibreY. LibreY is a fork of LibreX that aims to continue the projects development introducing security fixes and optimisations to improve it. Try switching to LibreY and seeing if the issue still persists, if so, make an issue there.

Jogai commented 10 months ago

Thanks. Maybe change the readme to include a link to the fork that is continuing this?