Verification: a143cc29221c9be0

Php call to undefined method exception

Topic

Call To Undefined Method __php_incomplete_class::__set_state()

View Content

So i read the docs on this and it said to create a callback function and use ini_set to set the function. I am trying to serialize an array with the class inside the array

Code: [Select]
$dd_normal_button = array (
        'dd_normal_button_display' =>
        array (
                'dd_button_digg' =>
                __PHP_Incomplete_Class::__set_state(array(
                '__PHP_Incomplete_Class_Name' => 'DD_Digg',
                'buttonLayout' =>
                array (
                        'Wide' => 'DiggWide',
                        'Normal' => 'DiggMedium',
                        'Compact' => 'DiggCompact',
                        'Icon' => 'DiggIcon',
                ),
               )
              )
             )
            );

So then I try

Code: [Select]
serialize($dd_normal_button);
and I get the error.

Any ideas/suggestions.

Thanks