Lets test if this is from a addon.
Open your config.php and below<?php add this line:
PHP Code:
define('DISABLE_HOOKS', true);
So it looks like this:
PHP Code:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.1
Then go to a post, and edit it, then look in your server error logs again, to see if the error shows up.
If it don't, then remove that line from the config.php file, edit the post again and see if the error shows up then.