2 Pages 1 2   
Toriatama   02-04-2024, 04:39 PM
#1
Hello,

Just installed your theme and like it. But I got the following errors at the top of forum:

Warning  [2] Undefined variable $avatarep_script - Line: 16 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)

Warning  [2] Undefined variable $avatarep_script - Line: 17 - File: global.php(958) : eval()'d code PHP 8.1.27

Any chance to fix this?

Thank you
Matty   02-04-2024, 07:11 PM
#2
Hi Toriatama,

Could you just confirm which one of my themes you are using and what version of PHP you are using? The error originates in the headerinclude template. Could you copy and paste the contents of that template here please?
Matty   02-04-2024, 08:34 PM
#3
Also please be sure you have uploaded all contents of the .zip package to your server. If avatarep.js is missing, the variable in headerinclude will produce error message.

Instructions are available in the readme.txt file, including installation instruction orders.
Toriatama   02-04-2024, 08:37 PM
#4
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.
Matty   02-04-2024, 09:04 PM
#5
Go to 'Ungrouped Templates' down the bottom of template list, and you'll find 'headerinclude'. That's the one I need.

I haven't had time to update Inspired series so some of the templates may be outdated currently.
Matty   02-04-2024, 09:13 PM
#6
Other errors can be eliminated by going to ACP > Templates & Style > Templates > Curves UI/Inspired > Forum Bit Templates > forumbit_depth2_forum_lastpost

Remove
Code:
{$forum['tpicon']}{$forum['tpprefix']}
Toriatama   03-04-2024, 01:33 AM
#7
(02-04-2024, 09:04 PM)Matty Wrote: Go to 'Ungrouped Templates' down the bottom of template list, and you'll find 'headerinclude'. That's the one I need.

Code:
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1823"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1821"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1827"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.2/font/bootstrap-icons.css" integrity="sha384-eoTu3+HydHRBIjnCVwsFyCpUDZHZSFKEJD0mc3ZqSBSb6YhZzRHeiomAUWCstIWo" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap" rel="stylesheet">

{$avatarep_script}{$stylesheets}
{$avatarep_script}

<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";
lang.confirm_title = "{$lang->confirm_title}";
lang.expcol_collapse = "{$lang->expcol_collapse}";
lang.expcol_expand = "{$lang->expcol_expand}";
lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

var templates = {
modal: '{$jsTemplates['modal']}',
modal_button: '{$jsTemplates['modal_button']}'
};

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
  var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>

(02-04-2024, 09:13 PM)Matty Wrote: Other errors can be eliminated by going to ACP > Templates & Style > Templates > Curves UI/Inspired > Forum Bit Templates > forumbit_depth2_forum_lastpost

Remove
Code:
{$forum['tpicon']}{$forum['tpprefix']}

After removing this part, only 2 errors remains, it's better:

The following warnings occurred:

Warning [2] Undefined variable $avatarep_script - Line: 16 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)

Warning [2] Undefined variable $avatarep_script - Line: 17 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)
Toriatama   03-04-2024, 07:27 AM
#8
PS: I've just noticed that when I click on sub-forum, this error is displaid several times at the top of the forum page:

Code:
Warning [2] Undefined variable $avbr - Line: 56 - File: forumdisplay.php(1393) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/forumdisplay.php(1393) : eval()'d code 56 errorHandler->error_callback
/forumdisplay.php 1393 eval

[Image: 2024-04-03-04-25-47.png]

And also a few other errors elsewhere, in several sub-forum:

Code:
Warning [2] Undefined variable $sep - Line: 1 - File: showthread.php(1575) : eval()'d code PHP 8.1.27 (Linux) File Line Function /inc/class_error.php 153 errorHandler->error /showthread.php(1575) : eval()'d code 1 errorHandler->error_callback /showthread.php 1575 eval
Matty   03-04-2024, 08:06 AM
#9
What has happened is you have installed theme before activating plugin, which should be done opposite way because theme already included those variables, and activating plugin after theme install will insert duplicate variables for plugin in theme.

Remove the duplicated {$avatarep_script} from headerinclude template - there are 2, should only be 1.

Remove {$avbr} from forumdisplay_thread and forumbit_depth1_lastpost templates and should solve.
Toriatama   03-04-2024, 02:59 PM
#10
(03-04-2024, 08:06 AM)Matty Wrote: Remove the duplicated {$avatarep_script} from headerinclude template - there are 2, should only be 1.
Done! Thank you.

Quote:Remove {$avbr} from forumdisplay_thread and forumbit_depth1_lastpost templates and should solve.
forumdisplay_thread = I found this one and removed it
forumbit_depth1_lastpost = I did not find other {$avbr} in all the forumbit templates.

So still have a few errors here and there:

Warning [2] Undefined variable $avatarep_script - Line: 16 - File: global.php(958) : eval()'d code PHP 8.1.27 (Linux)

Warning [2] Undefined variable $sep - Line: 1 - File: showthread.php(1575) : eval()'d code PHP 8.1.27 (Linux)
2 Pages 1 2   
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.