Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43301
Total Topics: 7525
Most Online Today: 114
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 78
Total: 80

Author Topic: Error "Trying to access array offset on value of type null"  (Read 2017 times)

0 Members and 1 Guest are viewing this topic.

Offline Monocero

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
Hi. What do these errors mean?











Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #1 on: June 11, 2023, 03:01:01 pm »
The category id doesn't exist. Will fix in next update
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 Monocero

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #2 on: June 14, 2023, 06:44:54 am »
Ok, waiting for the update. Let me know what you think about this suggestion of mine in my thread. Thank you.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #3 on: June 14, 2023, 01:59:02 pm »
Hotfix in sources/gallery2.php
Add after line 6698
Code: [Select]
if (empty($row1['id_member']))
fatal_error($txt['gallery_user_noperm'],false);
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 Monocero

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #4 on: June 15, 2023, 04:36:45 am »
In this way?



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #5 on: June 15, 2023, 06:44:01 am »
yeah
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 Monocero

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #6 on: June 15, 2023, 11:51:15 am »
Ok, I added this code to this file and uploaded to the server.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16455
    • View Profile
Re: Error "Trying to access array offset on value of type null"
« Reply #7 on: June 15, 2023, 12:50:10 pm »
That should fix that error then.
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/

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3854 Views
Last post February 18, 2015, 08:52:04 pm
by SMFHacks
39 Replies
4012 Views
Last post March 27, 2022, 05:51:08 am
by pete
8 Replies
1050 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
2119 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
6 Replies
1780 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek

+- Recent Topics

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

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

Powered by EzPortal