Before 1.3.47, that line called the do_action()
function.
Without seeing your full error, I’m not sure what exactly is happening. But if it’s saying do_action()
isn’t defined, it means something in your WP installation is broken and you should re-install WordPress (Dashboard > Updates).