Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11845
Latest: SamoanOnion
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42481
Total Topics: 7409
Most Online Today: 33
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

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

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Community Suite Customer
  • Member
  • ******
  • Posts: 43
    • View Profile
Trying to access array offset on value of type null
« on: June 30, 2022, 03:51:23 pm »
I am getting numbers of entries into the error log "Trying to access array offset on value of type null". Apparently this happens when someone attempts to access a listing which as been deleted for whatever reason.

I would assume these links would eventually be purged from search engine listings, etc. But some seem to hold them forever. So I get many such entries.

Am I doing something wrong by deleting old listings? Is there a way to prevent the log entries for dead products?

(Note: this happens on the Store too -just not as often.)

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16112
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #1 on: June 30, 2022, 03:58:54 pm »
Please all errors and line numbers along with the filename for us 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 Saftek

  • Community Suite Customer
  • Member
  • ******
  • Posts: 43
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #2 on: July 03, 2022, 03:33:51 pm »
#0: smf_error_handler()
Called from /home/xxxxxx/public_html/forum/Sources/classifieds2.php on line 664
#1: Classifieds_ViewMore()
Called from /home/xxxxxx/public_html/forum/Sources/classifieds2.php on line 192
#2: ClassifiedsMain()
Called from /home/xxxxxx/public_html/forum/index.php on line 191


==================================


Type of error
General
Error message
8: Trying to access array offset on value of type null
File
/home/xxxxxx/public_html/forum/Sources/classifieds2.php
Line
653
URL of page causing the error
https://www.xxxxxx.com/forum/index.php?action=classifieds;sa=viewmore;id=324

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16112
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #3 on: July 03, 2022, 03:37:52 pm »
Is that only one? If you have other locations let me know to so I don't have to do a bunch of new releases.
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 Saftek

  • Community Suite Customer
  • Member
  • ******
  • Posts: 43
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #4 on: July 04, 2022, 12:00:37 pm »
Those are the two I've seen the past couple of days. It will happen for other deleted products, same error info.

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16112
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #5 on: July 04, 2022, 08:14:20 pm »
Posted an update that should fix those two.
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 Saftek

  • Community Suite Customer
  • Member
  • ******
  • Posts: 43
    • View Profile
Re: Trying to access array offset on value of type null
« Reply #6 on: July 05, 2022, 12:45:10 pm »
Thanks. That works.

 

Related Topics

  Subject / Started by Replies Last post
39 Replies
1632 Views
Last post March 27, 2022, 05:51:08 am
by pete
1 Replies
396 Views
Last post February 18, 2022, 06:34:07 pm
by SMFHacks
4 Replies
389 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
402 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
4 Replies
522 Views
Last post June 01, 2022, 12:48:48 pm
by Michael Vail

+- Recent Topics

Delete old file by SMFHacks
October 05, 2022, 08:11:13 am

[Feature Request] Thumbnail on topic list by Shades
October 04, 2022, 11:40:26 am

Undefined index: class_ad_seller by SMFHacks
October 04, 2022, 09:33:36 am

"Custom title" badge by Hatshepsut
September 27, 2022, 10:11:27 pm

Category Selection by Anmer
September 18, 2022, 02:40:06 am

Setting a single free download. by Zaphod
September 12, 2022, 10:18:45 pm

Error message "Data too long for column 'ipaddress' at row 1" by SMFHacks
September 12, 2022, 08:49:02 am

SMF to SMF bridge via WP by SMFHacks
September 11, 2022, 09:44:30 am

Video player included by SMFHacks
September 06, 2022, 10:26:27 pm

Upload hangs / doesn't complete by SMFHacks
August 28, 2022, 08:36:21 am

Powered by EzPortal