Post by turbomadmin » Mon Mar 20, 2017 4:36 pm

I got this error after successfully uploading files of a new plugin into my root folder but I have no idea what caused it.
Notice: Undefined index: token in /home/turb9452/public_html/vqmod/vqcache/vq2-admin_controller_common_header.php on line 5
the bolded below is line 5
<?php
class ControllerCommonHeader extends Controller {
public function index() {
$data['d_shopunity'] = $this->url->link('d_shopunity/extension', 'token='.$this->request->get['token'], 'SSL');
$data['title'] = $this->document->getTitle();

if ($this->request->server['HTTPS']) {
$data['base'] = HTTPS_SERVER;
} else {
$data['base'] = HTTP_SERVER;
}
any idea on how to fix the error?

Newbie

Posts

Joined
Mon Oct 31, 2016 9:39 am

Post by JNeuhoff » Mon Mar 20, 2017 7:37 pm

Is there any reason why you won't get in touch with the authors of shopunity whose extension is the cause of your error?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Mon Mar 20, 2017 7:59 pm

As above, you should contact the extension developer.

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


User avatar
Guru Member
Online

Posts

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

Post by turbomadmin » Mon Mar 20, 2017 8:35 pm

somehow that didn't cross my mind for some reason. :hammer:
thanks, guys. will contact the developer instead :)

Newbie

Posts

Joined
Mon Oct 31, 2016 9:39 am

Post by JNeuhoff » Mon Mar 20, 2017 9:08 pm

turbomadmin wrote:
Mon Mar 20, 2017 8:35 pm
somehow that didn't cross my mind for some reason. :hammer:
thanks, guys. will contact the developer instead :)
Yeah, that's the Monday morning syndrome, takes a few hours to recover from the weekend :crazy:

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Dreamvention » Thu Apr 04, 2019 9:08 pm

Yes, thank you all for suggesting that to the client. Guys, please, feel free to contact us at https://dreamvention.ee/support and we will help you with any issue concerning our extensions. even if they are free, we will still try to help you out. thanks

Many OpenCart users struggle to find quality extensions. We know how frustrating the need to fix the shop is just because of one poorly coded extension. We created quality OpenCart Extensions, tested by real developers and provide professional support.

AJAX QUICK CHECKOUT - #1 one-page checkout solution
VISUAL DESIGNER - Page builder for Opencart
View more extensions here

Tested by Shopunity.net


User avatar
Administrator

Posts

Joined
Sun Jun 17, 2012 7:04 pm
Location - Europe

Post by webdesires » Thu Apr 11, 2019 2:22 am

Notices and undefined indexes are common and are of no concern.

You should turn off the reporting and logging of all notices in php, not only are they of no concern but they will fill up your log files and show up to you and your users breaking your applications.

All production servers should have these turned off as well as warnings.

A good setup:
E_ALL &~ E_WARNING &~ E_NOTICE

Regards, WebDesires.
We are a team of developers in the UK - professional and friendly, message us or give us a call anytime and we will be happy to help.

Phone: +44 (0) 121 318 6336 - Web: webdesires.co.uk - Skype: WebDesires
OpenCart Support - OpenCart Web Development - Our OpenCart Plugins


User avatar
Active Member

Posts

Joined
Mon Sep 28, 2015 6:34 pm
Location - West Midlands, United Kingdom
Who is online

Users browsing this forum: dcortex and 412 guests