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: Trying to access array offset on value of type null  (Read 375 times)

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Community Suite Customer
  • Member
  • ******
  • Posts: 41
    • 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: 16086
    • 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: 41
    • 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: 16086
    • 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: 41
    • 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: 16086
    • 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: 41
    • 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
1454 Views
Last post March 27, 2022, 05:51:08 am
by pete
1 Replies
328 Views
Last post February 18, 2022, 06:34:07 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

+- 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