There are two ways to get a module in a table:
1. using module mode, where you specify the module name and the title you gave the module. Note that you must have created an instance of the module in the Module Manager with the exact title that you specify
2. using position mode. In position mode, you specify the position that you gave the module in the Module Manager.
As for the error you are getting, I am not sure where that error is coming from. Do you have a link to the webpage with the plugin that I can review?