Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 42228
Total Topics: 7368
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 30
Total: 30

Author Topic: Array Offset Value Type Null Error  (Read 191 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: 16003
    • 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: 16003
    • 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: 16003
    • 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
5252 Views
Last post December 11, 2010, 08:32:47 pm
by G1
1 Replies
13078 Views
Last post April 21, 2018, 12:04:45 pm
by SMFHacks
39 Replies
1022 Views
Last post March 27, 2022, 05:51:08 am
by pete
1 Replies
153 Views
Last post February 18, 2022, 06:34:07 pm
by SMFHacks
4 Replies
160 Views
Last post March 14, 2022, 04:06:44 am
by ke

+- Recent Topics

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Powered by EzPortal