Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4206
Latest: jagwire
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42721
Total Topics: 7443
Most Online Today: 130
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 108
Total: 108

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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: 16205
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 50
    • 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
1 Replies
13170 Views
Last post April 21, 2018, 12:04:45 pm
by SMFHacks
4 Replies
473 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
504 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
822 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
6 Replies
537 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek

+- Recent Topics

Feature to upload a photo straight when composing a message by SMFHacks
February 04, 2023, 08:13:46 am

Pretty URL's Pro rewriting URLs by [chrisB]
February 01, 2023, 05:18:47 pm

Question before purchase by SMFHacks
February 01, 2023, 03:53:33 pm

Unlimited ending time by Saftek
January 29, 2023, 10:06:26 pm

Converting from Aeva Media by ivanr
January 28, 2023, 10:09:42 am

[Mod] Post Scheduler by bayonetbrant
January 23, 2023, 02:24:09 pm

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
January 22, 2023, 10:50:23 pm

[Request] Future consideration by [chrisB]
January 18, 2023, 08:42:53 am

Pretty Urls extras by SMFHacks
January 16, 2023, 04:00:57 pm

I don't think its installed correctly by SMFHacks
January 10, 2023, 05:56:21 pm

Powered by EzPortal