TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

December 09, 2024, 07:20:50 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 132
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

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.

samw

Link to my forum: http://www.atvbf.co.uk
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/atvbf.co.uk/Sources/TPortal.php (Line 1952)
2: Undefined array key "block_author"

/home/scotbusc/atvbf.co.uk/Sources/TPortal.php (Line 1951)
2: Undefined array key "block_height"

/home/scotbusc/atvbf.co.uk/Sources/TPortal.php (Line 1906)
2: Undefined array key "length"

/home/scotbusc/atvbf.co.uk/Sources/TPortal.php (Line 1905)
2: Undefined array key "include"

/home/scotbusc/atvbf.co.uk/Sources/TPortal.php (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?

Thanks
SW

tino

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?

samw

Hi tino

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

The previous version was 1.4R

samw

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/dundeeareabusforum.com/Sources/Errors.php" ["line"]=> int(301) ["function"]=> string(9) "log_error" } [1]=> array(1) { ["function"]=> string(17) "smf_error_handler" } } Error loop.

tino

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

samw

Thanks Tino

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

@rjen

 :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: www.fjr-club.nl