Pd 0.52 removed the error() function (unfortunately, without a deprecation notice), but it can easily be replaced with pd_error().
To fix the code in the repo you can run something like this in the project root:
rpl -R -x ".c" " error(" " pd_error(0, " .
patch.txt
A patch with the changes is attached.