EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!

Advertise Here +- +-

UserBox

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

+- Recent Posts

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

Re: TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Re: TinyMCE Editor disapears by DenDen66
March 02, 2025, 06:59:40 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 08:09:43 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 07:31:29 am

Re: TinyMCE Editor disapears by EzPortal
February 27, 2025, 06:57:30 pm

Re: TinyMCE Editor disapears by DenDen66
February 27, 2025, 04:45:52 pm

Re: TinyMCE Editor disapears by DenDen66
February 27, 2025, 06:15:11 am

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Renaming a page by DenDen66
February 23, 2025, 10:51:22 am

Styling ezBlock by EzPortal
February 19, 2025, 09:15:05 pm

I don't remember how to upgrade by EzPortal
February 05, 2025, 08:44:58 am

ezPortal 5.6 release by EzPortal
January 31, 2025, 11:21:34 am

5.5.4 by EzPortal
January 16, 2025, 08:31:41 pm

Moving a block higher in list by UkuleleMan
December 17, 2024, 07:58:27 am

Mandalorian Mercs Costume Club by UkuleleMan
December 17, 2024, 07:32:20 am

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Author Topic: Undefined index: href  (Read 477688 times)

0 Members and 1 Guest are viewing this topic.

Undefined index: href
« on: »
SMF 2.1.1
ezPortal 5.5

After creating a new topic I get this error in logs:

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: href
File
/home/*****/public_html/Sources/Subs.php
Line
1801
URL of page causing the error
https://*****.com/?action=post;msg=40;topic=21.0

Backtrace information
#0: smf_error_handler()
Called from /home/*****/public_html/Sources/Subs.php on line 1801
#1: {closure}()
Called from /home/*****/public_html/Sources/Subs.php on line 3628
#2: parse_bbc()
Called from /home/*****/public_html/Sources/Subs-EzPortalMain2.php on line 756
#3: EzBlockRecentTopicsBlock()
Called from /home/*****/public_html/Themes/default/EzPortal2.1.template.php on line 1928
#4: ShowEzBlocks()
Called from /home/*****/public_html/Themes/default/EzPortal2.1.template.php on line 1975
#5: template_ezblock_below()
Called from /home/*****/public_html/Sources/Load.php on line 2807
#6: loadSubTemplate()
Called from /home/*****/public_html/Sources/Subs.php on line 4668
#7: template_footer()
Called from /home/*****/public_html/Sources/Subs.php on line 4157
#8: obExit()
Called from /home/*****/public_html/index.php on line 193

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #1 on: »
Can attach your sources/subs.php
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Re: Undefined index: href
« Reply #2 on: »
 8)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #3 on: »
I just edited that same topic with the image attachment and got this same error again. I think this is why I'm having problems as discussed in this topic.

Here is my subs.php in case it changed from the last one I uploaded in the earlier post above. ;)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #4 on: »
Looks like the line numbers changed so I may have added something but the above subs,php is the latest! ;)

Here is the updated error message:

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: href
File
/home/*****/public_html/Sources/Subs.php
Line
1809
URL of page causing the error
https://*****.com/?action=post;msg=40;topic=21.0

Backtrace information
#0: smf_error_handler()
Called from /home/*****/public_html/Sources/Subs.php on line 1809
#1: {closure}()
Called from /home/*****/public_html/Sources/Subs.php on line 3636
#2: parse_bbc()
Called from /home/*****/public_html/Sources/Subs-EzPortalMain2.php on line 756
#3: EzBlockRecentTopicsBlock()
Called from /home/*****/public_html/Themes/default/EzPortal2.1.template.php on line 1928
#4: ShowEzBlocks()
Called from /home/*****/public_html/Themes/default/EzPortal2.1.template.php on line 1975
#5: template_ezblock_below()
Called from /home/*****/public_html/Sources/Load.php on line 2810
#6: loadSubTemplate()
Called from /home/*****/public_html/Sources/Subs.php on line 4676
#7: template_footer()
Called from /home/*****/public_html/Sources/Subs.php on line 4165
#8: obExit()
Called from /home/*****/public_html/index.php on line 197

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #5 on: »
Hey VB, I did a new install SMF 2.1.2 and EzPortal 5.5.1 and still getting these errors when creating a new post.

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: href
File
/home/******/public_html/Sources/Subs.php
Line
1809
URL of page causing the error
https://******.com/?action=post;msg=81;topic=34.0

Backtrace information
#0: smf_error_handler()
Called from /home/******/public_html/Sources/Subs.php on line 1809
#1: {closure}()
Called from /home/******/public_html/Sources/Subs.php on line 3636
#2: parse_bbc()
Called from /home/******/public_html/Sources/Subs-EzPortalMain2.php on line 756
#3: EzBlockRecentTopicsBlock()
Called from /home/******/public_html/Themes/default/EzPortal2.1.template.php on line 1928
#4: ShowEzBlocks()
Called from /home/******/public_html/Themes/default/EzPortal2.1.template.php on line 1975
#5: template_ezblock_below()
Called from /home/******/public_html/Sources/Load.php on line 2810
#6: loadSubTemplate()
Called from /home/******/public_html/Sources/Subs.php on line 4676
#7: template_footer()
Called from /home/******/public_html/Sources/Subs.php on line 4165
#8: obExit()
Called from /home/******/public_html/index.php on line 194

Here is a copy of my new subs.php...

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #6 on: »
Copy this file to your sources folder and see if it helps.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Re: Undefined index: href
« Reply #7 on: »
I think that did the trick! No more errors after creating new post. Thank you! 8)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Undefined index: href
« Reply #8 on: »
Glad that helped.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
24417 Views
Last post December 02, 2008, 08:32:15 pm
by EzPortal
4 Replies
18183 Views
Last post November 15, 2009, 12:59:02 pm
by lumumba
8 Replies
33864 Views
Last post April 06, 2010, 12:45:15 pm
by frost
5 Replies
15551 Views
Last post January 03, 2018, 01:14:01 pm
by EzPortal
2 Replies
11827 Views
Last post February 01, 2022, 12:26:03 pm
by Shades

+-SMF Gallery

Quick Menu


Powered by EzPortal