I put the Add This add on on a new site. After I put it on, I decided I didn't really like it and I completely uninstalled it.
No I get this when I go to my URL. Can anyone offer a suggestion to resolve this:
Home
Ufinit Architectural Tiles, Textiles & Component Art | Home
Fatal error: Block::getInstance() [<a href='block.getinstance'>block.getinstance</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "AddthisBlockController" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home4/dovetrad/public_html/ufinit/concrete/models/block.php on line 329
Resintalling the add-on brings the site back to life, but this code message is where the add this add on was:
Warning: include(/home4/dovetrad/public_html/ufinit/packages//blocks/addthis/view.php) [function.include]: failed to open stream: No such file or directory in /home4/dovetrad/public_html/ufinit/concrete/libraries/block_view.php on line 332
Warning: include() [function.include]: Failed opening '/home4/dovetrad/public_html/ufinit/packages//blocks/addthis/view.php' for inclusion (include_path='/home4/dovetrad/public_html/ufinit/libraries/3rdparty:/home4/dovetrad/public_html/ufinit/concrete/config/../libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home4/dovetrad/public_html/ufinit/concrete/libraries/block_view.php on line 332
I've had some similar experiences. The first seems to be induced by a page that has a block type in it that's been removed by use of the normal dashboard add functionality mechanism. (concrete/models/block line 329)
The second error seems to occur when the block is reinstalled and the page reloaded. It does this consistently until you put the page into edit mode and exit *without saving* - thereafter all is well. (concrete/libraries/block_view line 332)
My 5.5 system was either a 5.5.0->5.5.1 upgrade, or a straight 5.5.1 install, I can't remember which. It certainly wasn't a 5.4.x upgrade.
In trying to reproduce the error I found that if cache is turn off, you will not get this error. I was able to reproduce the exact same warning messages when my cache was turned on. We are investigating why this is happening.
When I say completely uninstalled, I mean I used the function that let's you uninstall an add-on and remove it from the directory.
So Dashboard> Extend C5 > Edit > Uninstall Package >
Move package to trash directory on server?
Yes, remove the package's directory from of the installation directory.
I'm pretty sure that gets rid of the add-on, but in this case, not the problem.
Fortunately, C5 sites are easy to build. No big deal. Most important is that you guys are aware of it to solve for others.
I created a custom block with the Designer Content Addon and placed a few of them on my homepage.
I realized that I forgot to add a couple of features to the block, so I went to my Dashboard and un-installed the block. Then I went to my site root directored and deleted the block folder from /blocks so I could re-create with the same name again.
I neglected to remove the three instances I had on my homepage...and now I can't get anywhere on my website. without see this error:
Fatal error: Block::getInstance()[<a href='block.getinstance'>block.getinstance</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "SpecialsItemBlockController" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload()function to load the class definition in /web/content/concrete/models/block.php on line 329
Warning: include(/home4/dovetrad/public_html/ufinit/packages//blocks/addthis/view.php) [function.include]: failed to open stream: No such file or directory in /home4/dovetrad/public_html/ufinit/concrete/libraries/block_view.php on line 332
Warning: include() [function.include]: Failed opening '/home4/dovetrad/public_html/ufinit/packages//blocks/addthis/view.php' for inclusion (include_path='/home4/dovetrad/public_html/ufinit/libraries/3rdparty:/home4/dovetrad/public_html/ufinit/concrete/config/../libraries/3rdparty:.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home4/dovetrad/public_html/ufinit/concrete/libraries/block_view.php on line 332