Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 280
Total: 280

Author Topic: 8: Trying to access array offset on value of type null  (Read 3620 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #15 on: January 29, 2022, 11:40:51 am »
Not from the Gallery but I would need to see that Subs.php That errors means something is outputted before the headers is sent.
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #16 on: January 29, 2022, 11:47:39 am »
Would you mind checking it out for me? If so, how would I send you my Subs.php? Many thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #17 on: January 29, 2022, 11:53:41 am »
Just attach it to the post an an attachment
« Last Edit: January 29, 2022, 12:40:12 pm by SMFHacks »
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #18 on: January 29, 2022, 12:43:40 pm »
Hope this works. Thanks for your help

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #19 on: January 29, 2022, 01:03:21 pm »
Unfortunately doesn't give me enough information.
That error points to the line where the template header is loaded. it shouldn't be called though when displaying an attachment.
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #20 on: January 29, 2022, 01:09:46 pm »
I appreciate you trying for me. Everything seems to be working fine, and I don't get the error message often, so maybe best to just ignore it.

Offline pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #21 on: February 08, 2022, 08:22:16 am »
Everything has been running fine since updating to 9.0b, but now I'm getting these errors. Would these have anything to do with settings? I haven't changed anything since the update.

8: Trying to access array offset on value of type null
 fileFile: smf/Sources/UserGallery2.php

 Lines 200,201,202,215,1701,1705

==>200:         $context['gallery_sortby'] = $row1['sortby'];

==>201:         $context['gallery_orderby'] = $row1['orderby'];

==>202:         $context['gallery_cat_name'] = $row1['title'];

==>215:               'name' => $row1['real_name'],

==>1701:      UserParentLink($row1['ID_PARENT'], $memberID);

==>1705:                  'name' => $row1['title']

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #22 on: February 08, 2022, 08:57:36 am »
No, that is one I would need to look into.
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #23 on: February 08, 2022, 09:16:41 am »
Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #24 on: February 08, 2022, 07:41:48 pm »
Fixed

9.0.1
+Cleaned up the stats page for SMF 2.1
!Fixed bug with updating topic/post if you using the image editor.
!Fixed some array access variables for new php version in user galleries
!Fixed the increase post count setting on bulk picture uploads.
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #25 on: February 09, 2022, 06:58:18 am »
I've updated to 9.0.1 on my test site, now I'm getting the attached message when trying to view a members album

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #26 on: February 09, 2022, 07:00:43 am »
Had one typo copy to your sources 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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #27 on: February 09, 2022, 07:07:35 am »
Thanks. That's sorted it. I'll download the corrected version to put on my live site

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #28 on: February 09, 2022, 07:56:53 am »
Updated main zip
9.0.1a
One hotfix for user galleries.
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 pete

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #29 on: February 09, 2022, 08:10:30 am »
I'm spending far too long trying to find the update zip, I found it earlier, but now can't. Where do I find it?

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1183 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
943 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
1941 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
6 Replies
1626 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek
7 Replies
1832 Views
Last post June 15, 2023, 12:50:10 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal