HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

July 17, 2024, 08:41:14 PM

Login with username, password and session length
  • Total Posts: 195,323
  • Total Topics: 21,233
  • Online today: 106
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 61
  • Total: 62
  • @rjen

Undefined array key

Started by samw, September 18, 2023, 07:04:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Link to my forum:
SMF version: 2.1.4
TP version: 2.3.1
Default Forum Language: English UTF-8
Theme name and version: Curve2
Browser Name and Version: Chrome 116.0.5845.188
Mods installed: TinyPortal
Related Error messages:
/home/scotbusc/ (Line 1952)
2: Undefined array key "block_author"

/home/scotbusc/ (Line 1951)
2: Undefined array key "block_height"

/home/scotbusc/ (Line 1906)
2: Undefined array key "length"

/home/scotbusc/ (Line 1905)
2: Undefined array key "include"

/home/scotbusc/ (Line 1904)
2: Undefined array key "useavatar"

This all started after I had to move hosts which then forced upgrade to 2.1.4 as 2.0.x stopped functioning (Not sure why)

Is anyone able to advise please?



You should be able to create the entries and stop the errors by editing the block causing the error.

However it should have been updated as part of the upgrade, what version of TinyPortal was installed?


Hi tino

I have gone into edit each block and pressed save but still get the errors.

The previous version was 1.4R


I have just installed TP on another forum that was moved as the other. I am getting the same errors, however, during the install I got the following errors:

array(2) { [0]=> array(3) { ["file"]=> string(68) "/home/scotbusc/public_html/" ["line"]=> int(301) ["function"]=> string(9) "log_error" } [1]=> array(1) { ["function"]=> string(17) "smf_error_handler" } } Error loop.


Quote from: samw on September 19, 2023, 01:05:42 PMHi tino

I have gone into edit each block and pressed save but still get the errors.

The previous version was 1.4R

I'll see if I can recreate it. That's quite a jump.

blockheight is from the categorybox so check something is set in that one.

useavatar is online so check that radio box has one option selected

length include is the recentbox so check those are all set with something


Thanks Tino

I found more blocks further down that had these settings missing. So far a clear error log, thank you!


 :hmm: I thought the install took care of all those updates.

Did we not at some time state, that to go to the latest version one should first upgrade to 1.6.x ?
Running Latest TP on SMF2.1 at: