BlockController Failure

Permalink
I Got A New Porblem, as usual i cant fix it.
Can anyone hlep me?

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 &quot;WizardsysFbcomBlockController&quot; 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 /home/httpd/vhosts/CENSURED/httpdocs/root/updates/concrete5.4.2/concrete/models/block.php on line 328

Line 328:
if ($this->instance->cacheBlockRecord() && is_object($this->instance->getBlockControllerData())) {

 
vampralien replied on at Permalink Reply
Bump...

Anyone ... I have the exact same issue.
Tried to uninstall tag cloud lite and now all I see is the above error.
Can't even log in to the admin page.
HELP! please.

Here is my 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 &quot;MatogertelTagCloudLiteBlockController&quot; 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 /home2/sheldon4/public_html/concrete/models/block.php on line 328
vampralien replied on at Permalink Reply
I managed to fix the problem.

I installed Tag Cloud block under a test site and copied that over to my live site.
The block was installed under <concrete install>/Packages/<Block Name>

Just copy from the test site over to the live site and you will be back in business.

Not sure if this will work for everyone.
Perhaps if others can confirm but this is what worked for me.

Hope that helps someone.

Sheldon

http://www.sheldonsweb.com
kranthikumar replied on at Permalink Reply
kranthikumar
HI me too got this error and i solved it.
i created a package "phub_videos"
in that i created a block like "phubvideos_list"
for this block controller i written class name like
class PhubVideosListBlockController extends BlockController {

protected $btInterfaceWidth = 550;
protected $btInterfaceHeight = 450;
...

}
i got Fatal Error because of "PhubVideosListBlockController" class name.

How i Solved it
---------------
i changed class name like this by changing V -> v in videos name
PhubVideosListBlockController => PhubvideosListBlockController .

if there is any _ between block name then u can use Capital letters in class names other than don't user it.
for Example :
My Block name is phubvideos_list so replace '_' and put 'L' in place of 'l' .

that's it.
Thank you .
Inspektor replied on at Permalink Reply
You saved my day!
Many thanks!