barcodebuddy
barcodebuddy copied to clipboard
Trying to get property of non-object
Hello,
I just installed the latest version of grocy and barcode-buddy(BB) and there seems to be a problem when BB communicates with Grocy. BB does not find any products which I created. Is there something I do wrong?
The error log says:
[error] 422#422: *516 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to get property 'name' of non-object in /app/bbuddy/index.php on line 237PHP message: PHP Notice: Trying to get property 'isTare' of non-object in /app/bbuddy/index.php on line 241PHP message: PHP Notice: Trying to get property 'unit' of non-object in /app/bbuddy/index.php on line 262PHP message: PHP Notice: Trying to get property 'name' of non-object in /app/bbuddy/index.php on line 262" while reading response header from upstream, client: 192.168.1.15, server: _, request: "POST /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.70:8019", referrer: "http://192.168.1.70:8019/index.php"
OK, seems like an SSL-Error?
[error] 422#422: *601 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /app/bbuddy/incl/api.inc.php on line 628" while reading response header from upstream, client: 192.168.1.15, server: _, request: "GET /cron.php?ajax HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.70:8019", referrer: "http://192.168.1.70:8019/index.php"
I use grocy behind an apache reverse proxy, when using only the IP with http it works