EzPortal - Portal Software for Forums
EzPortal Forums => Support => Topic started by: Shades on April 28, 2022, 12:18:49 pm
-
SMF 2.1.1
ezPortal 5.5
After creating a new topic I get this error in logs:
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
-
Can attach your sources/subs.php
-
8)
-
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 (https://www.ezportal.com/support/imageattachment-display-issue/msg5013/?topicseen#new).
Here is my subs.php in case it changed from the last one I uploaded in the earlier post above. ;)
-
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:
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
-
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.
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...
-
Copy this file to your sources folder and see if it helps.
-
I think that did the trick! No more errors after creating new post. Thank you! 8)
-
Glad that helped.