I uninstall both MPAAP and flarum but nothing change.
I'm not sure to understand ! Sorry for my English.
When i Edit the error, there is a button for that on left, for the first error the changes are on
Code: (Replace) [Select]
* copyright: 2011 Simple Machines (http://www.simplemachines.org)
* license: BSD, See included LICENSE.TXT for terms and conditions.
*
* @version 1.1.7
*
*/
/**
* Creates a box that can be used for richedit stuff like BBC, Smileys etc.
*
For the second error the code is :
Code: (Remplacer) [Sélectionner]
$this->_loadStableIcons();
// Merge in additional ones
$this->_loadCustomIcons();
$this->_merge_all_icons();
$this->_loadIcons();
}
/**
* Use a passed custom array or fetch the ones available for the board in use
*/
private function _loadCustomIcons()
{
global $board;
// Are custom even an option?
if ($this->_allowCustomIcons() && empty($this->_custom_icons))
{
// Fetch any additional ones
require_once(SUBSDIR . '/MessageIcons.subs.php');
$this->_custom_icons = getMessageIcons(empty($board) ? 0 : $board);
}
}
/**
* This function merges in any custom icons with our standard ones.
*
* @return array
*/
private function _merge_all_icons()
{
// Are custom even an option?
if ($this->_allowCustomIcons())
{
// Merge in additional ones
$custom_icons = array_map(function ($element) {
return $element['name'];
}, $this->_custom_icons);
$this->_stable_icons = array_merge($this->_stable_icons, $custom_icons);
}
}
/**
* Simply checks the ACP status of custom icons
*
* @return bool
*/
private function _allowCustomIcons()
{
global $modSettings;
return !empty($modSettings['messageIcons_enable']);
}
/**
* Return the icon specified by idx
*
* @param int|string $idx
* @return string
Is it what you mean tino ?