You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found the issue - In my plugin for the roster (still under development) I had e_admin.php generated by the plugin builder last year. Which generated this code:
` public function config($ui)
{
$action = $ui->getAction(); // current mode: create, edit, list
$type = $ui->getEventName(); // 'wmessage', 'news' etc. (core or plugin)
$id = $ui->getId();
$config = array();
$defaultValue = 'http://';
switch($type)
{
case "news": // hook into the news admin form.
$config['fields']['url'] = array ( 'title' =>"Custom Field", 'type' => 'url', 'tab'=>1, 'writeParms'=> array('size'=>'xxlarge', 'placeholder'=>'', 'default'=>$defaultValue), 'width' => 'auto', 'help' => '', 'readParms' => '', 'class' => 'left', 'thclass' => 'left', );
$config['batchOptions'] = array('custom' => 'Custom Batch Command');
break;
}
//Note: 'urls' will be returned as $_POST['x_roster_url']. ie. x_{PLUGIN_FOLDER}_{YOURFIELDKEY}
return $config;
}
`
Comment that code out works, but I just deleted it off my server (cause I have it locally) so yeah lol
LaocheXe
changed the title
Bug: Uncaught Error: Call to undefined method roster_admin::load()
Bug: Uncaught Error: Call to undefined method for plugin e_admin.php generated
Mar 7, 2019
Moc
changed the title
Bug: Uncaught Error: Call to undefined method for plugin e_admin.php generated
Uncaught Error: Call to undefined method for plugin e_admin.php generated
Mar 7, 2019
Moc
changed the title
Uncaught Error: Call to undefined method for plugin e_admin.php generated
Uncaught Error: Call to undefined method load() for plugin e_admin.php generated
Mar 12, 2019
Uncaught Error: Call to undefined method roster_admin::load()
Fatal error: Uncaught Error: Call to undefined method roster_admin::load() in /usr/www/501st/e107/e107_handlers/admin_ui.php:6637 Stack trace: #0 /usr/www/501st/e107/e107_handlers/admin_ui.php(6683): e_admin_form_ui->setAdminAddonModel(Object(e_admin_tree_model), Array, 'news_id') #1 /usr/www/501st/e107/e107_handlers/admin_ui.php(5803): e_admin_form_ui->getList() #2 /usr/www/501st/e107/e107_handlers/admin_ui.php(2182): e_admin_ui->ListPage() #3 /usr/www/501st/e107/e107_handlers/admin_ui.php(1291): e_admin_controller->dispatchPage() #4 /usr/www/501st/e107/e107_admin/newspost.php(1789): e_admin_dispatcher->runPage() #5 {main} thrown in /usr/www/501st/e107/e107_handlers/admin_ui.php on line 6637
e107_admin/newspost.php?mode=main&action=list
Updated Github at 10:53 PM EST on 3-6-2019
Before Update I could go there and do stuff. Now I get that
The text was updated successfully, but these errors were encountered: