Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11845
Latest: SamoanOnion
New This Month: 6
New This Week: 0
New Today: 0
Stats
Total Posts: 42472
Total Topics: 7406
Most Online Today: 127
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

Author Topic: Array Offset Value Type Null Error  (Read 401 times)

0 Members and 1 Guest are viewing this topic.

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Array Offset Value Type Null Error
« on: May 04, 2022, 06:35:50 pm »
We've just upgraded our forum to SMF 2.1.1, with the latest version of Downloads System Pro (6.0.1)  are getting this error in our Error Logs when browsing through the downloads menu.  The Downloads section seems to be working ok though.  We upgraded from an older version of Downloads System Pro.

8: Trying to access array offset on value of type null

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Re: Array Offset Value Type Null Error
« Reply #1 on: May 04, 2022, 06:48:27 pm »
This is the full error message

 <username>
<IP Address Deleted>
 3b339edc624d143188929493e102635f
 https://forums.godlike.com.au/index.php?action=downloads;cat=1
 /home/godlikec/public_html/forums/Themes/default/Downloads2.1.template.php (Line 192)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16109
    • View Profile
Re: Array Offset Value Type Null Error
« Reply #2 on: May 05, 2022, 08:19:00 am »
Does it have a line number?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Re: Array Offset Value Type Null Error
« Reply #3 on: May 06, 2022, 04:51:56 am »
 /home/godlikec/public_html/forums/Themes/default/Downloads2.1.template.php (Line 192)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16109
    • View Profile
Re: Array Offset Value Type Null Error
« Reply #4 on: May 06, 2022, 11:21:51 am »
Copy this file to themes/default folder
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Re: Array Offset Value Type Null Error
« Reply #5 on: May 06, 2022, 07:23:40 pm »
Thanks for this. Copied across now. I'll let you know if the problem persists.

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Re: Array Offset Value Type Null Error
« Reply #6 on: May 09, 2022, 06:38:06 am »
We've got rid of most of the errors, but am still getting this one a few times on the same line (10291)

 <user>
 <ip>
 2cc3d591299e599b07754064ae5b1aa5
 https://forums.godlike.com.au/index.php?action=downloads;sa=downfile&amp;id=645;t=1652095945
 /home/godlikec/public_html/forums/Sources/Downloads2.php (Line 10291)  Backtrace information

Type of error: General
Error messageSelect
8: Trying to access array offset on value of type null

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16109
    • View Profile
Re: Array Offset Value Type Null Error
« Reply #7 on: May 09, 2022, 09:45:27 am »
Copy this to sources folder should fix it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Puppeteer

  • Downloads Pro Customer
  • Member
  • *****
  • Posts: 23
    • View Profile
    • Godlike Productions
Re: Array Offset Value Type Null Error
« Reply #8 on: May 10, 2022, 12:31:35 am »
Thanks, hopefully that's all of them.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5308 Views
Last post December 11, 2010, 08:32:47 pm
by G1
39 Replies
1600 Views
Last post March 27, 2022, 05:51:08 am
by pete
4 Replies
378 Views
Last post March 14, 2022, 04:06:44 am
by ke
4 Replies
511 Views
Last post June 01, 2022, 12:48:48 pm
by Michael Vail
6 Replies
413 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek

+- Recent Topics

"Custom title" badge by SMFHacks
September 24, 2022, 07:09:22 pm

Category Selection by Anmer
September 18, 2022, 02:40:06 am

Setting a single free download. by Zaphod
September 12, 2022, 10:18:45 pm

Error message "Data too long for column 'ipaddress' at row 1" by SMFHacks
September 12, 2022, 08:49:02 am

SMF to SMF bridge via WP by SMFHacks
September 11, 2022, 09:44:30 am

Video player included by SMFHacks
September 06, 2022, 10:26:27 pm

Upload hangs / doesn't complete by SMFHacks
August 28, 2022, 08:36:21 am

[Feature Request] Admin Sales Alert by Shades
August 25, 2022, 06:41:00 pm

Portal Block by SMFHacks
August 23, 2022, 12:42:22 pm

Question about undoing a rating by SMFHacks
August 22, 2022, 04:31:50 pm

Powered by EzPortal