umm, like the message says, line 321 in function.php
Be aware that you may run into more issues espically wiith widgets if you remain on php4.
You should also upgrade Atahualpa to 3.4.4 - where the 'str_ireplace' has already been replaced witht the 'str_replace'.