Post by kitbinan » Sat Mar 26, 2022 3:37 pm

Hello all,
Snice I am new here I just want to ask if anybody can help me fix an issue I have. I have checked all possible solutions but cannot find it as I was able to view the fornt end but once I log in to admin I get this message:
Notice: Trying to access array offset on value of type null in E:\xampp\htdocs\sanchitapaul.in\system\storage\vendor\scss.inc.php on line 1753 Notice: Trying to access array offset on value of type null in E:\xampp\htdocs\sanchitapaul.in\system\storage\vendor\scss.inc.php on line 1753 and till teh end of the page :
Notice: Trying to access array offset on value of type null in E:\xampp\htdocs\sanchitapaul.in\system\storage\vendor\scss.inc.php on line 1753

This template was from template monster and I just wanted to check on my local server. So the instructions on the file was to install on a fresh with no opencart folder site

Please help.
Thank you

Newbie

Posts

Joined
Fri Mar 25, 2022 12:57 pm

Post by ADD Creative » Sat Mar 26, 2022 9:51 pm

What version of OpenCart and what version of PHP?

Put "system\storage\vendor\scss.inc.php on line 1753" into a search engine and you will find a lot of solutions.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by mikeinterserv » Sat Mar 26, 2022 9:59 pm

Try replacing line 1753 in scss.inc with this

Code: Select all

if (is_array($key)) $key = $key[1];

Active Member

Posts

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

Post by lockbox » Tue Apr 16, 2024 9:54 pm

Editing line 1753 to this if (is_array($key)) $key = $key[1]; did not work for me
removing the line did?
All the errors are gone :)
Don't know why, maybe it may help someone

Newbie

Posts

Joined
Sat May 28, 2016 11:15 am

Post by straightlight » Tue Apr 16, 2024 11:36 pm

lockbox wrote:
Tue Apr 16, 2024 9:54 pm
Editing line 1753 to this if (is_array($key)) $key = $key[1]; did not work for me
removing the line did?
All the errors are gone :)
Don't know why, maybe it may help someone

Code: Select all

if (!empty($key) && is_array($key)) $key = $key[1]

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

Post by JNeuhoff » Wed Apr 17, 2024 5:21 am

Your OpenCart version doesn't support the PHP version used by your server. E.g. OC version 3.0.3.8 or lower only support PHP 7.4, but not PHP 8, for the latter you need OC 3.0.3.9 or later.

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


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 6 guests