Post by opensab677 » Mon May 02, 2022 4:53 am

In opencart 3.0.3.8 I get this error message:
Notice: Undefined index: route in /public_html/catalog/controller/extension/captcha/google.php on line 14

line 14 is this: $data['route'] = $this->request->get['route'];

any suggestions to fix it?

New member

Posts

Joined
Mon Sep 04, 2017 7:54 pm

Post by mikeinterserv » Mon May 02, 2022 6:51 am

Code: Select all

$data['route'] = $this->request->get['route'] ?? '';

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by opensab677 » Mon May 02, 2022 4:41 pm

it works ! :)
thanks

New member

Posts

Joined
Mon Sep 04, 2017 7:54 pm

Post by paulfeakins » Tue May 03, 2022 7:05 pm

opensab677 wrote:
Mon May 02, 2022 4:41 pm
it works ! :)
thanks
Better still, use this one: https://www.opencart.com/index.php?rout ... n_id=36312

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Wed May 04, 2022 5:32 am

opensab677 wrote:
Mon May 02, 2022 4:41 pm
it works ! :)
thanks
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Google [Bot] and 20 guests