Trying to add block but not functioning

Permalink
I'm trying to add the Easy Tabs addon and after purchasing and installing I'm getting the following error.

Fatal error: Call to a member function getPackageID() on a non-object in [src.../concrete/libraries/block_view.php] on line 123

Does anyone know what this could be in reference to or how I can fix this error?

Thanks so much for your help.
-Dan

dcaryll
 
12345j replied on at Permalink Reply
12345j
ask this in the easy tabs support forum.
dcaryll replied on at Permalink Reply
dcaryll
Thanks. I did but the developer of the addon said he was leaving for a week and would check when he got back. Thought maybe this was a C5 issue that could be figured out without reference to the addon.
12345j replied on at Permalink Reply
12345j
the errors saying that the block installed doesn't have a block Object so it can't get the package. try going to that file, copying to root, and changing line 123 to
if (is_object($obj) && $obj->getPackageID() > 0) {
dcaryll replied on at Permalink Reply
dcaryll
Thanks for the help. I changed line 123 and now I receive the same error instead referencing line 129:

} else if (file_exists(DIR_FILES_BLOCK_TYPES . '/' . $obj->getBlockTypeHandle() . '/' . $filename)) {
12345j replied on at Permalink Best Answer Reply
12345j
revert line 123 to the way it was and add a line before it
if(is_object($obj)){
and add a } at the end of line 133
dcaryll replied on at Permalink Reply
dcaryll
Thank you very much for your help. It seems that the developer had a chance to look over my issue and adjusted the addon. I really appreciate your help.
-Dan