I am using the Curves UI Theme.
The PhP is 8.1 (shared server). The hosting service allows me to select PhP 8.1, 8.2 or 8.3, but I'm not sure if all work with MyBB forum.
The theme downloaded is "Inspired (responsive)" version 1.4.1 (Date Uploaded 2024-01-21, 04:21 PM), from MyBB Themes.
I am not used to play with templates.
I've tried to reinstall the Inspired Responsive theme.
Now I get much more errors, I do not understand why...
Code:
The following warnings occurred:
Warning [2] Undefined variable $avatarep_script - Line: 16 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 16 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined variable $avatarep_script - Line: 17 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 17 errorHandler->error_callback
/global.php 958 eval
/index.php 18 require_once
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpicon" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
Warning [2] Undefined array key "tpprefix" - Line: 2 - File: inc/functions_forumlist.php(330) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_forumlist.php(330) : eval()'d code 2 errorHandler->error_callback
/inc/functions_forumlist.php 330 eval
/inc/functions_forumlist.php 163 build_forumbits
/index.php 463 build_forumbits
In MyBB admin panel => Templates => Curves UI Templates=> Edit Template "Header", I have this:
Code:
<!-- new navbar -->
<nav class="navbar navbar-light navbar-expand-lg bg-white py-3">
<div class="container-md"><a class="navbar-brand d-flex align-items-center" href="{$mybb->settings['bburl']}/index.php"><span class="fs-1 gradient-text" style="font-family: Quicksand, sans-serif; font-weight: 700">{$mybb->settings['bbname']}</span></a><button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navcol-2"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
<div id="navcol-2" class="collapse navbar-collapse">
<ul class="navbar-nav ms-auto">
{$welcomeblock}
</ul>
</div>
</div>
</nav>
<!-- /new navbar -->
<div class="container-fluid catmod pt-4 pb-4 mb-4">
<div class="container-md">
<navigation>
</div>
</div>
<div class="container-md mt-3">
{$pm_notice}
{$remote_avatar_notice}
{$bannedwarning}
{$bbclosedwarning}
{$modnotice}
{$pending_joinrequests}
{$awaitingusers}
</div>
Is it what you need?
PS: And yes I believe I had properly uploaded the content of 'inc' and 'jscripts' folders to the main forum directory.