Not Solved PHP in Templates and Template Conditionals
Not Solved
Has anyone found the fix for using this plugin with PHP 8? Getting this error.

Warning [2] Undefined array key 2 - Line: 92 - File: inc/plugins/phptpl.php PHP 8.0.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/phptpl.php 92 errorHandler->error_callback
[PHP] {closure}
/inc/plugins/phptpl.php 109 preg_replace_callback_array
/inc/plugins/phptpl.php(70) : eval()'d code 19 phptpl_parsetpl
/forumdisplay.php 1547 phptpl_templates->get

using a simple conditional in forumdisplay_threadlist template
					<if $foruminfo["fid"] == "115" then>
							&emsp;<a href="https://www.worldcommunitygrid.org/team/viewTeamMemberDetail.do?sort=name&teamId=xxxxxxxxxx" target="_blank">click for Team stats.</a>
							</if>
Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by HLFadmin - 2023-02-02, 01:14 PM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)