EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: Shades on August 21, 2021, 07:10:51 pm

Title: Illegal string offset 'num_days_shown' (Upcoming Events Block)
Post by: Shades on August 21, 2021, 07:10:51 pm
Quote
Type of error
General
Error message
2: Illegal string offset 'num_days_shown'
File
/home2/******/public_html/******/Sources/Subs-Calendar.php
Line
905
URL of page causing the error
https://******.com/index.php?

Backtrace information
#0: smf_error_handler()
Called from /home2/******/public_html/******/Sources/Subs-Calendar.php on line 905
#1: cache_getOffsetIndependentEvents()
Called from /home2/******/public_html/******/Themes/default/EzPortal2.1.template.php(1684) : eval()'d code on line 15
#2: eval()
Called from /home2/******/public_html/******/Themes/default/EzPortal2.1.template.php on line 1684
#3: ShowEzBlocks()
Called from /home2/******/public_html/******/Themes/default/EzPortal2.1.template.php on line 1739
#4: template_ezblock_below()
Called from /home2/******/public_html/******/Sources/Load.php on line 2755
#5: loadSubTemplate()
Called from /home2/******/public_html/******/Sources/Subs.php on line 4029
#6: template_footer()
Called from /home2/******/public_html/******/Sources/Subs.php on line 3498
#7: obExit()
Called from /home2/******/public_html/******/index.php on line 190
Title: Re: Illegal string offset 'num_days_shown' (Upcoming Events Block)
Post by: EzPortal on August 21, 2021, 08:59:50 pm
Fixed  i think for next update saw the code in the birthday block. Is the built in block or another block found on the site?
Title: Re: Illegal string offset 'num_days_shown' (Upcoming Events Block)
Post by: Shades on August 21, 2021, 09:35:57 pm
I have "Todays Birthdays" option in admin but I'm not using it only the "Upcoming Events" block.
Title: Re: Illegal string offset 'num_days_shown' (Upcoming Events Block)
Post by: EzPortal on August 21, 2021, 11:06:47 pm
Upcoming Events isn't built in so that's why i was wondering.