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
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
ask this in the easy tabs support forum.
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.
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) {
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)) {
revert line 123 to the way it was and add a line before it and add a } at the end of line 133
if(is_object($obj)){
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
-Dan