A
A
Alexander Konovalov2019-04-13 16:57:17
PHP
Alexander Konovalov, 2019-04-13 16:57:17

What is the site complaining about?

Hello! In the opencart error log, the following errors periodically pop up:
2019-04-13 16:53:39 - PHP Notice: Undefined index: product_id in /var/www/data/www/catalog/controller/module/viewed.php on line 15
2019 -04-13 16:53:39 - PHP Notice: Undefined index: product_id in /var/www/data/www/catalog/model/module/criteo.php on line 17
viewed.php
https://pastebin.com/ 2s5UwgbR
criteo.php
https://pastebin.com/mhrgCYKT
What doesn't he like?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
InGhost, 2019-04-13
@Huf

He doesn't like the fact that $this->request->get is missing a value with the key product_id .
Those. Apparently there is no corresponding argument in the GET request.

M
Mysterion, 2019-04-13
@Mysterion

$this->request->get['product_id']
It's empty here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question