SMFHacks.com

SMF Classifieds => Support => Topic started by: Shades on March 23, 2021, 02:45:45 pm

Title: Errors when creating a category & terms
Post by: Shades on March 23, 2021, 02:45:45 pm
SMF 2.1RC3

When creating a category if I decide not to and click on classifieds link up top or any other link I get errors in admin logs:
Quote
Error
Type of error: Undefined_vars
Error message:
8: Undefined index: show_bbc
File: /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php
Line: 3351
URL of page causing the error: https://xxxx.com/xxxx/index.php?action=classifieds;sa=addcat
Backtrace information
#0: smf_error_handler()
Called from /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php on line 3351
#1: template_addcategory()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Load.php on line 2673
#2: loadSubTemplate()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Subs.php on line 3530
#3: obExit()
Called from /home2/xxxx/public_html/xxxx/xxxx/index.php on line 176

Also get errors if I leave the Terms of Use blank:
Quote
Error
Type of error: General
Error message:
8: Trying to access array offset on value of type null
File: /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php
Line: 7489
URL of page causing the error: https://xxxx.com/xxxx/index.php?action=admin;area=classifieds;sa=admin;sa=termsofuse;d2fe08f=03cd32030d4436228b8610c1e60ac310
Backtrace information
#0: smf_error_handler()
Called from /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php on line 7489
#1: template_termsofuse()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Load.php on line 2673
#2: loadSubTemplate()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Subs.php on line 3530
#3: obExit()
Called from /home2/xxxx/public_html/xxxx/xxxx/index.php on line 176

Just wondering if this was normal cause I left them blank and exited without saving anything? 8)
Title: Re: Errors when creating a category & terms
Post by: Shades on March 23, 2021, 03:00:14 pm
And just now after creating an auction i get the following even though the item listed:
Quote
Error
Type of error: Undefined_vars
Error message:
8: Undefined index: show_bbc
File: /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php
Line: 5048
URL of page causing the error: https://xxxx.com/xxxx/index.php?action=classifieds;sa=addauction;cat=1
Backtrace information
#0: smf_error_handler()
Called from /home2/xxxx/public_html/xxxx/xxxx/Themes/default/classifieds2.1.template.php on line 5048
#1: template_addauction()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Load.php on line 2673
#2: loadSubTemplate()
Called from /home2/xxxx/public_html/xxxx/xxxx/Sources/Subs.php on line 3530
#3: obExit()
Called from /home2/xxxx/public_html/xxxx/xxxx/index.php on line 176
Title: Re: Errors when creating a category & terms
Post by: SMFHacks on March 24, 2021, 08:23:38 pm
Posted an update that should help with those issues.