Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11839
Latest: BugginIn
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42423
Total Topics: 7395
Most Online Today: 105
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 69
Total: 70

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16086
    • View Profile
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 #31 on: February 09, 2022, 08:36:17 am »
Thanks

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 #32 on: February 15, 2022, 02:43:25 am »
I don't know if this error message has anything to do with Gallery Pro, but it does occur sometimes when guests (machines?) open an image. I'm not getting a reply from the snowflake mod help forum. You may be able to help?

https://bsac10c11c12.co.uk/smf/index.php?PHPSESSID=b9f061190472c83f5bd0a680f65e5bb9&action=dlattach;topic=11051.0;attach=32078;image;ts=1553017207

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

/smf/Sources/snowflakesMobileDetect.php
Line: 1065

==>1065:                 if (is_array($matchType['matches'])) {

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16086
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #33 on: February 15, 2022, 07:31:44 am »
No related to the galley but you can add before that line this code
Code: [Select]
if (empty($matchType['matches']))
$matchType['matches'] = array();
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 #34 on: February 15, 2022, 08:27:48 am »
Thank you  :)

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 #35 on: March 25, 2022, 05:27:11 am »
I'm still getting the odd error message relating to Gallery2 that you might be able to help me with.

/smf/index.php?pretty;action=gallery&sa=search2
8: Undefined index: orderby
/public_html/smf/Sources/Gallery2.php
Line: 5464

==>5464:            $orderby = $_REQUEST['orderby'];

/smf/index.php?pretty;action=gallery&sa=search2
8: Undefined index: sortby
/smf/Sources/Gallery2.php
Line: 5463

==>5463:            $sortby = $_REQUEST['sortby'];

/smf/index.php?pretty;action=gallery&sa=search2
8: Undefined index: gallerytype
/smf/Sources/Gallery2.php
Line: 5461

==>5461:            $gallerytype = $_REQUEST['gallerytype'];

/smf/index.php?pretty;action=gallery&sa=search2
8: Undefined index: mediatype
/smf/Sources/Gallery2.php
Line: 5460

==>5460:            $mediatype = $_REQUEST['mediatype'];

Many thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16086
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #36 on: March 25, 2022, 10:24:38 pm »
That should be fixed I think already.
If not here is the gallery2.php file 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 #37 on: March 26, 2022, 02:10:07 pm »
Thanks. I have updated that file now.

Could the same apply to this error in the UserGallery.php?

/smf/index.php?pretty;action=gallery&su=user;u=868
8: Trying to access array offset on value of type null
/smf/Sources/UserGallery2.php
Line: 477

==>477:            $context['usergallery_name'] = $row['real_name'];

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16086
    • View Profile
Re: 8: Trying to access array offset on value of type null
« Reply #38 on: March 26, 2022, 07:47:54 pm »
Copy to 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 #39 on: March 27, 2022, 05:51:08 am »
Thank you :)

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
13127 Views
Last post April 21, 2018, 12:04:45 pm
by SMFHacks
4 Replies
336 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
356 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
4 Replies
445 Views
Last post June 01, 2022, 12:48:48 pm
by Michael Vail
6 Replies
375 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek

+- Recent Topics

Custom badges by Hatshepsut
August 18, 2022, 10:10:46 pm

Membergroup level by davejo
August 18, 2022, 02:13:49 am

Setting a single free download. by SMFHacks
August 16, 2022, 09:50:04 am

Quick moderation checkboxes in search result? by SMFHacks
August 08, 2022, 10:37:03 am

Contact Page Mod Not Working by SMFHacks
August 05, 2022, 12:19:43 pm

Issues with new Newsletter Pro installation by SMFHacks
August 05, 2022, 07:15:18 am

SMFBlog Mod by Nicole
August 03, 2022, 09:46:22 pm

Contact Page by Nicole
August 03, 2022, 09:45:42 pm

trader + classifieds by Nicole
August 03, 2022, 05:05:17 pm

Category Permissions List by SMFHacks
July 30, 2022, 07:53:24 am

Powered by EzPortal