Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4267
Latest: ramiroelliot
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 43544
Total Topics: 7565
Most Online Today: 70
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 46
Total: 46

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

0 Members and 1 Guest are viewing this topic.

Offline Monocero

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











Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16563
    • 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
  • Full Member
  • *****
  • Posts: 113
    • 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: 16563
    • 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
  • Full Member
  • *****
  • Posts: 113
    • 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: 16563
    • 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
  • Full Member
  • *****
  • Posts: 113
    • 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: 16563
    • 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
39 Replies
4471 Views
Last post March 27, 2022, 05:51:08 am
by pete
8 Replies
1164 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
2233 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
6 Replies
1955 Views
Last post July 05, 2022, 12:45:10 pm
by Saftek
3 Replies
256 Views
Last post August 26, 2024, 11:10:54 pm
by SMFHacks

+- Recent Topics

Move picture from main gallery to user gallery by Lirorobert
Today at 03:08:26 pm

Gallery Pro reinstalation by Lirorobert
Today at 03:04:50 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Restoring a deleted photo by Monocero
September 28, 2024, 04:12:20 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Bar during the regeneration of miniatures by Monocero
September 15, 2024, 12:35:08 pm

Powered by EzPortal