Hello, I have had these two php errors popping up in my error log and would like to clear them, if you could help me how please? They first appeared on oc 2.1 with an older version of burnengine, but they are still appearing on oc 2.3 Pavilion v2.2.4 15:39/BurnEngine version 1.2.4
they are:
PHP Notice: Undefined index: REMOTE_ADDR in /home/xxxx/public_html/test/system/vendor/BurnEngine/catalog/plugin/RenderSlotPlugin.php on line 8
Line 8 is: if ($_SERVER['REMOTE_ADDR'] == ’192.168.2.19′) {
and:
PHP Notice: Undefined index: REQUEST_METHOD in /home/xxxx/public_html/test/system/vendor/BurnEngine/extension/seo/catalog/SeoCatalogExtension.php on line 209
line 209 is: 209: if ($request->server['REQUEST_METHOD'] != ‘POST’ && !$this->settings['default_language_prefix'] && (empty($request->get['route']) || $request->get['route'] == ‘common/home’)) {
|
|
Hi,
We’ve modified:
system/vendor/BurnEngine/admin/boot.php
system/vendor/BurnEngine/catalog/boot.php
The error message should now disappear. Most likely it was caused by a CRON job by some third party extension.
BR,
ThemeBurn team
|
|
That’s fantastic thank you so much, I have been wondering about those errors for a while – there are indeed cron jobs for other extensions.
|
|
Glad we’ve helped
BR,
ThemeBurn team
|
|