Fix reference to pluginError function