Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2013, 06:24 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,241
LucasA33 is on a distinguished road
Default Strict Standards Error?

PHP Version 5.4.21

Strict Standards: Declaration of AdminSidebar::setDivision() should be compatible with Sidebar::setDivision(GUIComponent $module) in /home/xxx/public_html/ranch/classes/class_adminsidebar.php on line 18

Since I moved hosts to godaddy, I've gotten this error in ACP.
Reply With Quote
  #2  
Old 12-30-2013, 11:05 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,427
Hall of Famer is on a distinguished road
Default

Well first of all I am not sure this script actually works on GoDaddy, you may end up experiencing other issues but hopefully you will be fine. For this one, just copy whatever is inside the parenthesis (GUIComponent $module) from the setDivision method in Sidebar to AdminSideBar and it will disappear. An alternative solution is to simply disable strict standard error(as it does not really affect your site in any way more than poping up an annoying message) from your server.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 01-04-2014, 01:24 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,241
LucasA33 is on a distinguished road
Default

Minus a few errors such as siggy images not loading, then there isn't much.
Reply With Quote
  #4  
Old 01-08-2014, 04:01 PM
FRivArt FRivArt is offline
Ze Code-Illiterate N00b
 
Join Date: Jan 2014
Location: Puerto Rico
Posts: 6
Gender: Unknown/Other
Credits: 1,062
FRivArt is on a distinguished road
Default

Got this right now. What am I supposed to do, exactly? In noob speak....

In the class_sidebar file, I have:
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);
    }

In the class_adminsidebar file, it's:
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");
    }

Is that what I'm supposed to switch? Sure it wouldn't break anything?
Reply With Quote
  #5  
Old 01-09-2014, 11:26 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,241
LucasA33 is on a distinguished road
Default

IDK it went away after a while, so I assume don't do anything just yet.
I'm not a great coder either so..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strict Standards --- Need help, pre launch! Missy Master Questions and Supports 29 01-30-2015 08:04 AM
Standards for PHP programmers, which category are you in? Hall of Famer Webmasters Area 4 10-05-2014 12:40 AM
Strict Standards on Friend Privacy Page? parayna Questions and Supports 2 09-27-2014 09:59 AM
Parse error: syntax error, unexpected T_STRING MikiHeart Questions and Supports 29 10-31-2013 12:46 AM
Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ Saphira Questions and Supports 11 05-26-2009 11:45 AM


All times are GMT -5. The time now is 10:43 AM.

Currently Active Users: 406 (0 members and 406 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636