Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Problem Plugin Vanilla 2.5

Hi, I have a plugin works fine 2.3.1, but in 2.5 it does not work,

Folder:

Widget:
    module:
        class.dolartodaymodule.php

Error:

Class 'DolartodayModule' not found

The error occurred on or near: /public_html/plugins/Widgets/default.php

57: //var_dump($item);

58: // do the permission check with "Plugins.Whatever.{$moduleName}.View"

59: // attach module with $module = new $modules$moduleName;

60: if ($session->CheckPermission('Plugins.Widgets.' . $item . '.View')) {

61: $module = new $modules$item;

62: $sender->addModule($module);

63: }

64: }

65: }

Define class.dolartodaymodule.php:

class DolartodayModule extends Gdn_Module {
}

Thks,

Comments

Sign In or Register to comment.