We might be getting above Error with the Custom Ribbon Button where we using RibbonAction.js
-Ribbon Button not working (RibbonAction.js has been deprecated)
- If your button not working most probably you are using RibbonAction or Ribbon Workflow , you might have used Ribbon Workbench to enable Command where using RibbonAction.js onto your ribbon button.
- so bad news is it has been Deprecated, below is the link from ribbon workbench Blog , you can go through it to remove it from Button
https://ribbonworkbench.uservoice.com/knowledgebase/articles/132235-create-a-workflow-short-cut-ribbon-button-no-code
- We can use JS to execute the Workflow or Action
- or I would recommend following this post: