MyBB Community Forums

Full Version: Call to undefined function after 1819 upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Fatal error: Call to undefined function return_bytes() in /home/biglooks/public_html/forums/newthread.php on line 1109
return_bytes() function is defined in 'inc/functions_post.php'.
If you have the include line in line number 25 of newthread.php:
require_once MYBB_ROOT."inc/functions_post.php";
you should not get this error.

Try re-uploading both the files ("inc/functions_post.php" and "newthread.php") from the latest package and see if the problem remains ...
Went to my web site and found that my "inc/functions_post.php" did not have a return_bytes() function. Went to my local unzip of MyBB version 1819 and found it there. FTPed the 1819 file to my VPS server and problem was resolved. Thanks for the help. I wish that I got the same kind of support from WordPress. Smile