View Single Post
  #13  
Old 01-29-2015, 04:53 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 126,900
Kyttias is on a distinguished road
Default

Well, another one to fix would be around line 43 in classes/class_radiolist.php, changing this:
PHP Code:
    public function add(RadioButton $radio$index = -1){
        if(
$radio->getName() != $this->name) throw new GUIException("Cannot add unrelated radiobuttons to a RadioList.");
        
parent::add($radio$index);            
    } 
to:
PHP Code:
public function add(GUIComponent $radio$index = -1){
        if(
$radio->getName() != $this->name) throw new GUIException("Cannot add unrelated radiobuttons to a RadioList.");
        
parent::add($radio$index);            
    } 
And that would fix stuff in the profile settings.

But I digress - I could fix all the errors on the front end, but never the AdminCP one. Not without getting a new error to take its place. And I really feel this comes down on the hosting provider, because I couldn't get inline modifications of the error_reporting to work either. Not in the file, not in the htaccess, and I don't have control over my php.ini. *sigh*
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote