Post by busetasyonar » Sat Aug 23, 2025 4:01 am

Hi,
I've installed a few plugins lately. I tried disabling the plugins.
but I keep seeing this error;
Notice: Undefined index: route in /home/username/storage/modification/admin/controller/common/header.php on line 26
The part where the error occurs is the admin login screen.

Image

Newbie

Posts

Joined
Tue Dec 17, 2024 4:00 pm

Post by OSWorX » Sat Aug 23, 2025 4:25 am

busetasyonar wrote:
Sat Aug 23, 2025 4:01 am
Hi,
I've installed a few plugins lately. I tried disabling the plugins.
Hi, no answer here until you have read this .. and followed Forum Rules before proceeding.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by by mona » Sat Aug 23, 2025 5:21 pm

In addition
busetasyonar wrote:
Sat Aug 23, 2025 4:01 am
I tried disabling the plugins.
Notice: Undefined index: route in /home/username/storage/modification/admin/controller/common/header.php on line 26

obviously you did not disable all the modifications or did not refresh modifications having done so.
At the very least if you disabled all the plugins the file would no longer be in the modifications folder.



The error is on line 26 of the file storage/modification/admin/controller/common/header.php
Since it is modified we can have absolutely no idea what that may be.
1. Start by disabling modifications that effect the header
2. Look at the file itself and see what the line is
3. The error is a notice - that means "I am just making you aware that " - it is not a good thing, but it is not critical either - if you were a good developer you would fix it , but it is only a NOTICE.

BEWARE : error logging should NEVER be enabled on a live site.

Once you have followed OSWorX link and provided more information maybe someone can help you.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by DesignCart » Sun Aug 24, 2025 2:45 pm

In your case, there's no point in editing the files. The problem will return with every refresh of the modification. It's best to edit the modification in the database. Where the script calls for "route," add a condition, for example, if(isset($route)). Find out which modification is causing the error, edit its entry (e.g., in phpMyAdmin), find the problematic variable, and add the condition.

Tworzenie sklepów internetowych | Portfolio | Cennik | O mnie


User avatar
Active Member

Posts

Joined
Thu Nov 10, 2016 2:06 pm
Location - Gubin

Post by paulfeakins » Tue Aug 26, 2025 7:28 pm

busetasyonar wrote:
Sat Aug 23, 2025 4:01 am
I've installed a few plugins lately.
Which ones? Have you emailed the extension developers?

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
Who is online

Users browsing this forum: No registered users and 23 guests