apfrom cause error

I am using this library in Chinese wikipedia, but the apfrom causes an error . It works after I remove it.