Update for 2.6.0

Merchant
Fra United Kingdom
Medlem siden sep. 2024

Hi, Could we have an update to the add-on please for 2.6.0 ? Thanks Matt

Merchant
Fra United Kingdom
Medlem siden sep. 2024

Does anyone have this add-on working on 2.6.0 or later? I require help with page errors please.

LiteCart Fan
Fra Netherlands
Medlem siden nov. 2020

For now...

Change @ pages/service.inc.php:

$mother_page = array_values($page->path)[0];
    if (in_array('customer_service', $page->dock) || in_array('customer_service', $mother_page->dock)) {
      http_response_code(301);
      header('Location: '. document::ilink('customer_service', ['page_id' => $page->id]));
      exit;
    }

to

$mother_page = array_values($page->path)[0];
if (
  (is_array($page->dock) && in_array('customer_service', $page->dock)) || 
  (isset($mother_page->dock) && is_array($mother_page->dock) && in_array('customer_service', $mother_page->dock))
) {
  http_response_code(301);
  header('Location: '. document::ilink('customer_service', ['page_id' => $page->id]));
  exit;
}

It will work...

Du
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.