In any case, please try to remove the extra codes from functions.php file. If it doesn't help follow to this post, this is something site and server specific, it should be debugged from server side too:
If you will not be able find the problem causer please let us know and we'll refund this addon for sure. Thank you for your interest in wpForo and for trying the addon.
Я поменял - поставил ваш как есть , свой удалил . на странице форума пишет ошибку сервера. Возвращаю назад
Внутренняя ошибка сервера
Сервер обнаружил внутреннюю ошибку или неправильную конфигурацию и не смог выполнить ваш запрос.
Пожалуйста, свяжитесь с администратором сервера по адресу webmaster@from.sh, чтобы сообщить им о времени возникновения этой ошибки и действиях, которые вы выполнили непосредственно перед этой ошибкой.
Дополнительная информация об этой ошибке может быть доступна в журнале ошибок сервера.
I meant htaccess file in /wp-admin/ directory. If you don't have .htaccess file in admin dir, please contact to your hosting service support and let them know that your Wordpress doesn't allow AJAX requests. This maybe Server Configuration issue.