Not a bug <xf:callbac> has bug I think

thinkdiff

New member
Affected version
2
I just created this file in library/MyCard/index.php and added this code in it

Code:
class CardCoontroller{
    public static function getCard() {
        return 'test data';
    }
}

and in edit template -> member_view added this code
Code:
<xf:callback class="CardCoontroller" method="getCard"></xf:callback

But I get this error:
Code:
Callback CardCoontroller::getCard is invalid (error_invalid_class).

How can I fix it?
 
We can only provide support to licensed customers. Once you associate your forum username to the Forum users page in the customer area you will be able to post in the Development discussions forum for help.
 
Top Bottom