TinyPortal

Development => Support => Topic started by: PoML on July 24, 2023, 11:24:11 PM

Title: TP 2.3.0 and SMF 2.1.4 - shoutbox index errors
Post by: PoML on July 24, 2023, 11:24:11 PM
I get some index errors in my errorlog, where they point to the line in TPshout.php:
"$shoutbox_direction = $set['shoutbox_direction'];"
This does not seem to give any real problems, but is there something ie in the translation file that could cause this?


Link to my forum: NA - forum has not shouts open for guests.
SMF version: 2.1.4
TP version: 2.3.0
Default Forum Language: Norwegian
Theme name and version: Default
Browser Name and Version: Chrome 115.0.5790.98
Mods installed: NA
Related Error messages:
2: Trying to access array offset on value of type null

Error log no: 15855017
 2023-07-23, 22:58    7e2ae0c5dcff5104a8f9fc7ebc2b7c99
[...]/forum/index.php?action=tpshout;shout=fetch
 /customers/c/c/a/c5jnzrz36/webroots/r538174/medlemmer/forum/Sources/TPShout.php (Line 240)  Backtrace information

Type of error: General
Error messageSelect
2: Trying to access array offset on value of type null
Title: Re: TP 2.3.0 and SMF 2.1.4 - shoutbox index errors
Post by: @rjen on July 25, 2023, 09:10:30 AM
It is not related to language files. We did a few bug fixes on the these errors in TP 2.3.1

You should upgrade to the latest version and check again
Title: Re: TP 2.3.0 and SMF 2.1.4 - shoutbox index errors
Post by: PoML on July 26, 2023, 02:19:52 PM
Thanks - that fixed it!