MyBB Community Forums

Full Version: "Diff"-Function in "Find Updated Templates"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I just wanted to use

Find Updated Templates

and the the "Diff"-Function

I get the following error

Fatal error: Call to undefined function: is_a() in /var/www/forum/inc/class_diff.php on line 914
What version of PHP are you using on your server?
4.1.2
I think MyBB requires a minimum PHP version of 4.3.x. So, you will have to upgrade the PHP version on your server to be able to run MyBB.
You can try to change the reported line into:

if (get_class($edit) == 'Text_Diff_Op_copy') {

The function is_a need php >= 4.2.0
Yes, you could do that. However, I cannot guarantee MyBB will work correctly even if you fix this particular issue. Your best bet is to upgrade your server to the latest version of PHP, that will fix a lot of PHP bugs as well.
Thanx, I will see what I can do Smile