![]() |
|
#1
|
|||
|
|||
![]()
I was bored since no one has helped me yet, so I decided to research this... stack overflow explains this quite well (although I'm still a little lost since I know very little about php lol)
http://stackoverflow.com/questions/1...ompatible-with http://stackoverflow.com/questions/1...e-with-that-of It seems the problem is because this function in class_sidebar: Code:
/** * The setDivision method, setter method for property $division. * It is set internally upon object instantiation, cannot be accessed in client code. * @param GUIComponent $module * @access protected * @return Void */ protected function setDivision(GUIComponent $module){ if(!$this->division){ $this->division = new Division; $this->division->setClass("sidebar"); } $this->division->add($module); } Code:
/** * The setDivision method, setter method for property $division. * It is set internally upon object instantiation, cannot be accessed in client code. * @param ArrayList $components * @access protected * @return Void */ protected function setDivision($components){ $this->division = new Division($components); $this->division->setClass("sidebar"); } Either that, or it has something to do with the bug with the order classes are defined and extended. https://bugs.php.net/bug.php?id=46851 The same should apply to the drop down one... Either way, you might try turning off strict error reporting (something to do with a php.ini file I think) and see if your site works just fine. My guess is that the php version or setup on the new server is different, and it's possible (I think) that strict error reporting was turned off before otherwise you might have seen the same messages before. Hopefully Hall Of Famer can shed a little more light on this, since all of my knowledge comes from an hour of googling because this caught my interest. All I can give is information, but I can't tell you what to do with it cause I'm clueless. I have read at least 50 pages of this section of the forum, and I think previous advice was to turn off strict error reporting, but I can't remember for sure. Same goes for changing something to suppress the warnings about the headers. That is just telling you that something else on the page already sent headers, so it can't send them again... and previous posts in this forum have suggested they aren't important so just hide them. HEY, I just noticed something.... could it be because one is a GUIComponent parameter and the other is an ArrayList? |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Warning Messages (more) | Abronsyth | Questions and Supports | 4 | 10-04-2014 06:40 PM |
Better Messages Buttons | Inf3rnal | Mys v1.2.x Mods | 2 | 10-28-2011 11:11 AM |
Help: messages and email | Isura | Questions and Supports | 1 | 07-24-2011 02:09 PM |
Delete All Messages in Inbox Mod [by Kae] | Kaeliah | Mys v1.2.x Mods | 0 | 04-02-2011 02:30 AM |
Modding Suggestion: Error Messages | HIddenPanda | Suggestions and Feature Requests | 2 | 02-05-2011 09:46 PM |
What's New? |
What's Hot? |
What's Popular? |