Not Solved Can anyone make this small plugin supported for mybb 1.8
#3
Not Solved
<error>
	<dateline>1603178499</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/index.php:18]
</back_trace>
</error>

<error>
	<dateline>1603178501</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/css.php:15]
</back_trace>
</error>

<error>
	<dateline>1603178501</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/task.php:19]
</back_trace>
</error>

<error>
	<dateline>1603178513</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
	<dateline>1603178513</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/css.php:15]
</back_trace>
</error>

<error>
	<dateline>1603178514</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/task.php:19]
</back_trace>
</error>

<error>
	<dateline>1603178520</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
	<dateline>1603178520</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
	<dateline>1603178521</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/css.php:15]
</back_trace>
</error>

<error>
	<dateline>1603178525</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/task.php:19]
</back_trace>
</error>

<error>
	<dateline>1603178534</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/newreply.php:24]
</back_trace>
</error>

<error>
	<dateline>1603178535</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/global.php:20]
#4  require_once() called at [/private.php:26]
</back_trace>
</error>

<error>
	<dateline>1603178536</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/css.php:15]
</back_trace>
</error>

<error>
	<dateline>1603178537</dateline>
	<script>inc/plugins/ckeditor.php</script>
	<line>17</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Use of undefined constant CKEDITOR_PLUGINROOT - assumed 'CKEDITOR_PLUGINROOT' (this will throw an Error in a future version of PHP)</message>
	<back_trace>#0  errorHandler->error() called at [/inc/plugins/ckeditor.php:17]
#1  require_once() called at [/inc/class_plugins.php:38]
#2  pluginSystem->load() called at [/inc/init.php:239]
#3  require_once() called at [/task.php:19]
</back_trace>
</error>

<error>
	<dateline>1603381588</dateline>
	<script></script>
	<line>0</line>
	<type>20</type>
	<friendly_type>MyBB SQL Error</friendly_type>
	<message>SQL Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY username ASC' at line 6
Query: 
SELECT *
FROM mybb_users 
LEFT JOIN mybb_userfields 
ON mybb_users.uid = mybb_userfields.ufid 
WHERE mybb_users.usergroup IN (#,#,#,#)
ORDER BY username ASC
</message>
	<back_trace>#0  errorHandler->error() called at [/inc/db_mysqli.php:597]
#1  DB_MySQLi->error() called at [/inc/db_mysqli.php:337]
#2  DB_MySQLi->query() called at [/faceclaims.php:23]
</back_trace>
</error>

<error>
	<dateline>1603381591</dateline>
	<script></script>
	<line>0</line>
	<type>20</type>
	<friendly_type>MyBB SQL Error</friendly_type>
	<message>SQL Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY username ASC' at line 6
Query: 
SELECT *
FROM mybb_users 
LEFT JOIN mybb_userfields 
ON mybb_users.uid = mybb_userfields.ufid 
WHERE mybb_users.usergroup IN (#,#,#,#)
ORDER BY username ASC
</message>
	<back_trace>#0  errorHandler->error() called at [/inc/db_mysqli.php:597]
#1  DB_MySQLi->error() called at [/inc/db_mysqli.php:337]
#2  DB_MySQLi->query() called at [/faceclaims.php:23]
</back_trace>
</error>

<error>
	<dateline>1603464099</dateline>
	<script>inc/plugins/phptpl.php</script>
	<line>150</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>substr() expects parameter 1 to be string, array given</message>
	<back_trace>#0  errorHandler->error() called at [[PHP]: ]
#1  substr() called at [/inc/plugins/phptpl.php:150]
#2  phptpl_if() called at [/inc/plugins/phptpl.php:89]
#3  {closure}() called at [[PHP]: ]
#4  preg_replace_callback_array() called at [/inc/plugins/phptpl.php:109]
#5  phptpl_parsetpl() called at [/inc/plugins/phptpl.php(70) : eval()'d code:19]
#6  phptpl_templates->get() called at [/index.php:370]
</back_trace>
</error>

<error>
	<dateline>1603464106</dateline>
	<script>inc/plugins/phptpl.php</script>
	<line>150</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>substr() expects parameter 1 to be string, array given</message>
	<back_trace>#0  errorHandler->error() called at [[PHP]: ]
#1  substr() called at [/inc/plugins/phptpl.php:150]
#2  phptpl_if() called at [/inc/plugins/phptpl.php:89]
#3  {closure}() called at [[PHP]: ]
#4  preg_replace_callback_array() called at [/inc/plugins/phptpl.php:109]
#5  phptpl_parsetpl() called at [/inc/plugins/phptpl.php(70) : eval()'d code:19]
#6  phptpl_templates->get() called at [/index.php:370]
</back_trace>
</error>

<error>
	<dateline>1603464110</dateline>
	<script>inc/plugins/phptpl.php</script>
	<line>150</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>substr() expects parameter 1 to be string, array given</message>
	<back_trace>#0  errorHandler->error() called at [[PHP]: ]
#1  substr() called at [/inc/plugins/phptpl.php:150]
#2  phptpl_if() called at [/inc/plugins/phptpl.php:89]
#3  {closure}() called at [[PHP]: ]
#4  preg_replace_callback_array() called at [/inc/plugins/phptpl.php:109]
#5  phptpl_parsetpl() called at [/inc/plugins/phptpl.php(70) : eval()'d code:19]
#6  phptpl_templates->get() called at [/index.php:370]
</back_trace>
</error>

<error>
	<dateline>1603464116</dateline>
	<script>inc/plugins/phptpl.php</script>
	<line>150</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>substr() expects parameter 1 to be string, array given</message>
	<back_trace>#0  errorHandler->error() called at [[PHP]: ]
#1  substr() called at [/inc/plugins/phptpl.php:150]
#2  phptpl_if() called at [/inc/plugins/phptpl.php:89]
#3  {closure}() called at [[PHP]: ]
#4  preg_replace_callback_array() called at [/inc/plugins/phptpl.php:109]
#5  phptpl_parsetpl() called at [/inc/plugins/phptpl.php(70) : eval(

And the server error showing this :- 
Fatal error: Uncaught Error: Call to undefined function rebuildsettings() in /home/vol11_8/epizy.com/epiz_26803231/htdocs/inc/plugins/trash.php:110 Stack trace: #0 /home/vol11_8/epizy.com/epiz_26803231/htdocs/admin/modules/config/plugins.php(433): trash_activate() #1 /home/vol11_8/epizy.com/epiz_26803231/htdocs/admin/index.php(824): require('/home/vol11_8/e...') #2 {main} thrown in /home/vol11_8/epizy.com/epiz_26803231/htdocs/inc/plugins/trash.php on line 110

And from the line 106 to 116 is :- 
$db->insert_query('settings', $trash_setting_1);
	$db->insert_query('settings', $trash_setting_2);
	$db->insert_query('settings', $trash_setting_3);
	
	rebuildsettings();
	
	$template1 = array(
		"title"		=> "forumdisplay_deletebutton",
		"template"	=> "<a href=\"moderation.php?action=delete_trash&amp;fid={\$fid}\"><img src=\"{\$theme[\'imglangdir\']}/purgetrash.gif\" alt=\"Purge trash\" /></a>&nbsp;",
		"sid"		=> -1
	);
 110 line is rebuidsettings();
Reply


Messages In This Thread
RE: Can anyone make this small plugin supported for mybb 1.8 - by PRÂDÏP - 2020-10-30, 12:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)