Got this error message when approving a post with an attachment (2 pictures):
Fatal error: Call to undefined function pbe_prepare_text() in /www/htdocs/w00f21f1/elkarte/sources/subs/Notification.subs.php on line 586
More info: The post is written by another admin user.
hmm... a post written by an admin with unapproved attachments? ???
Anyway, to fix it, open Notifications.subs.php and find:
// Maillist format?
$maillist = !empty($modSettings['maillist_enabled']) && !empty($modSettings['pbe_post_enabled']);
if ($maillist)
require_once(SUBSDIR . '/Emailpost.subs.php');
replace the entire block with just:
require_once(SUBSDIR . '/Emailpost.subs.php');
:D
Don't know how he made it. But it was his post which was unapproved. :o
https://github.com/emanuele45/Dialogo/commit/4db2e252d9f821bdf693961eeb5868da892636ee