ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Adrek on June 30, 2014, 03:23:57 am

Title: cannot access protected method ManageMaillist_Controller::list_maillist_unapprov
Post by: Adrek on June 30, 2014, 03:23:57 am
Error from clean RC1 package:

Code: [Select]
Type of error: General
2: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method ManageMaillist_Controller::list_maillist_unapproved()
URL: ?action=admin;area=maillist
File: /sources/subs/GenericList.class.php
Line: 202

This is line 202:
Code: [Select]
$list_items = call_user_func_array($this->_listOptions['get_items']['function'], array_merge(array($list_context['start'], $list_context['items_per_page'], $sort), empty($this->_listOptions['get_items']['params']) ? array() : $this->_listOptions['get_items']['params']));
Title: Re: cannot access protected method ManageMaillist_Controller::list_maillist_unapprov
Post by: emanuele on June 30, 2014, 04:31:22 am
It looks like a bug Spuds fixed yesterday here:
https://github.com/Spuds/Elkarte/commit/67439e9c3fb4156d284d24d1700e0d0bdf8dc799
Title: Re: cannot access protected method ManageMaillist_Controller::list_maillist_unapprov
Post by: Adrek on June 30, 2014, 04:37:12 am
yeah, it's fixed there.
I was looking for report on forum, didn't look at github ::)
Title: Re: cannot access protected method ManageMaillist_Controller::list_maillist_unapprov
Post by: emanuele on June 30, 2014, 04:42:01 am
No problem. :)
Better one more than one less! ;D