Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 175
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 141
Total: 141

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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
1237 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
985 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
2000 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
6 Replies
1674 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek
7 Replies
1897 Views
Last post June 15, 2023, 12:50:10 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal