Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 279
Total: 279

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

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 52
    • 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: 16436
    • 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
  • Jr. Member
  • ******
  • Posts: 52
    • 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: 16436
    • 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
  • Jr. Member
  • ******
  • Posts: 52
    • 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: 16436
    • 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
  • Jr. Member
  • ******
  • Posts: 52
    • 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
3620 Views
Last post March 27, 2022, 05:51:08 am
by pete
4 Replies
1184 Views
Last post March 14, 2022, 04:06:44 am
by ke
8 Replies
944 Views
Last post May 10, 2022, 12:31:35 am
by Puppeteer
8 Replies
1941 Views
Last post November 26, 2022, 12:07:42 pm
by Michael Vail
7 Replies
1832 Views
Last post June 15, 2023, 12:50:10 pm
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Powered by EzPortal