MyBB Community Forums
Call to undefined function after 1819 upgrade - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html)
+--- Thread: Call to undefined function after 1819 upgrade (/thread-220510.html)



Call to undefined function after 1819 upgrade - oldfogey - 2018-11-02

Fatal error: Call to undefined function return_bytes() in /home/biglooks/public_html/forums/newthread.php on line 1109


RE: Call to undefined function after 1819 upgrade - effone - 2018-11-02

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 ...


RE: Call to undefined function after 1819 upgrade - oldfogey - 2018-11-08

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