Fixed: Strict Standards: Non-static method JLoader::import()

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
JoshGriffin
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Dec 10, 2010 10:33 pm

Fixed: Strict Standards: Non-static method JLoader::import()

Post by JoshGriffin » Fri Dec 10, 2010 10:53 pm

I went to one of the web sites hosted on my server today and a blank page was shown. Found in the forums a way to view PHP errors and the errors below is what is shown. I have 2 Joomla web sites hosted on the server and they both have the same problem. The other 6 sites on the server are fine. No changes have been made to the web sites, the PHP configuration, Apache server since this problem. I reverted to a backup PHP configuration file of a few months ago, same with Apache config file, and this did not fix the problem. I've tried all of the solutions in the forum but can't fix this problem. I can't figure this out... Please help!

Code: Select all

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JRequest::clean() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 33

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 463

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 464

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 465

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 466

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 467

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/environment/request.php on line 468

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 35

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 38

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 39

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 46

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 47

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 50

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 53

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 54

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 57

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 58

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JFactory::getApplication() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/index.php on line 31

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Redefining already defined constructor for class JObject in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/base/object.php on line 57

Strict Standards: Non-static method JApplication::getInstance() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/factory.php on line 46

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JApplicationHelper::getClientInfo() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/application/application.php on line 130

Strict Standards: Declaration of JSite::getRouter() should be compatible with that of JApplication::getRouter() in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/includes/application.php on line 377

Strict Standards: Declaration of JSite::getPathWay() should be compatible with that of JApplication::getPathway() in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/includes/application.php on line 377

Strict Standards: Declaration of JSite::getMenu() should be compatible with that of JApplication::getMenu() in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/includes/application.php on line 377

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/application/application.php on line 726

Strict Standards: Non-static method JFactory::_createConfig() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/factory.php on line 73

Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/registry/registry.php on line 19

Strict Standards: Non-static method JLoader::load() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 138

Strict Standards: Non-static method JUtility::getHash() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/application/application.php on line 99

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/utilities/utility.php on line 111

Strict Standards: Non-static method JFactory::getSession() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/application/application.php on line 752

JoshGriffin
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Dec 10, 2010 10:33 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by JoshGriffin » Sat Dec 11, 2010 2:44 am

I fixed the problem. I had no other option but to reboot my server, which fixed the problem. Weird. I really don't like having to bring down the whole server, but hey it fixed it. :P

Running Fedora 10, Apache 2.2.14, MySQL 5.0.88, PHP 5.2.9. Joomla version 1.5.7.

jduhls
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Dec 17, 2010 4:52 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by jduhls » Fri Dec 17, 2010 4:55 pm

I'm having the exact same problem. A server reboot did not solve the problem. I'm suspecting PHP 5.3 is the cause, but even upgrading to the latest 1.5.X of Joomla! did not solve the problem. Any insight out there?

Many Thanks!

Jonathan Uhls

Arel3
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Jan 26, 2010 9:09 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by Arel3 » Mon Jan 03, 2011 9:07 am

I'm getting the same error trying to run the latest version of joomla on easyPHP. Going to try wamp to see if I get the same result. Restarting the servers didn't correct it for me either. And it unfortunately doesn't look like anyone here is going to be of any help since the last post is nearly a month old with no replies :(

Same on easyPHP site. Others have reported the same errors. No replies.

Arel3
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Jan 26, 2010 9:09 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by Arel3 » Mon Jan 03, 2011 9:32 am

Open your php.ini

Find:

Code: Select all

error_reporting = E_ALL | E_STRICT
and change it to:

Code: Select all

;error_reporting = E_ALL | E_STRICT
add a semi-colon to the beginning of the line. This term, if you're not familiar with it, is called rem.
"rem the line out" or shut it off.

In most .ini files it is a semi-colon. It may be a slash (/) or double slashes (//) or you may have to rem it out in some php.ini files on some servers with the /* <code is here> /* syntax.

Shut error reporting off. It worked for me and allowed my joomla site to show up.
HOORAY!!

Veofasgard
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Mar 20, 2010 8:37 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by Veofasgard » Wed Mar 30, 2011 3:21 am

Where do I find php.ini? I am having a similar problem and can't really find any answers or assistance other than this.
It happened to me when upgrading to 1.6. Is there some way to go back to the previous version so my site can still be up until I figure out how to fix this?

User avatar
IberoMedia
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 126
Joined: Mon Apr 12, 2010 3:25 am
Contact:

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by IberoMedia » Wed May 04, 2011 7:10 am

Veofasgard wrote:Where do I find php.ini? I am having a similar problem and can't really find any answers or assistance other than this.
It happened to me when upgrading to 1.6. Is there some way to go back to the previous version so my site can still be up until I figure out how to fix this?
I have installed XAMPP in my computer (the is apache mysql, myphpadmin etc.) In this forum, they mention the so called ini.php file as the XAMPP\php.ini file

Perhaps this enlightens you as to which file they are referring to.

To give better pointers to the next post traveler, I suggest you indicate what type of server are you using for your Joomla install (in my case is XAMPP, and changing the XAMPP\php.ini with the values estated above, and restarting apache server solved my problem.)

I got my solution form this posting: http://forum.joomla.org/viewtopic.php?p ... 5#p2443155

User avatar
orchid1
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Tue Jan 12, 2010 6:18 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by orchid1 » Fri Jun 17, 2011 3:30 am

Yup setting the php.ini to error_reporting = E_ALL | E_STRICT fixed it im on XAMPP php 5.3x
“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution..." William A. Foster - USMC
http://www.orchid1software.com/extensions/
http://www.orchid1software.net

xexeN
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 23, 2011 8:02 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by xexeN » Tue Aug 23, 2011 8:12 pm

orchid1 wrote:Yup setting the php.ini to error_reporting = E_ALL | E_STRICT fixed it im on XAMPP php 5.3x
using xampp 1.7.4 on windows 7
I changed error_reporting but its not working, any diffirent solition?

scorp2000
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Sat May 15, 2010 9:00 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by scorp2000 » Thu Aug 25, 2011 5:26 pm

instead of chaging php.ini
goto joomla configuration file and replace
$error_reporting = '-1';
with
$error_reporting = '6143';

& it's done

flob1337
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 28, 2012 8:06 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by flob1337 » Tue Aug 28, 2012 8:12 am

Hi Guys,

I'm trying to install joomla 1.5 but i still remain with the error even after i changed

Code: Select all

var $error_reporting = '6143';
AND

Code: Select all

; error_reporting = E_ALL | E_STRICT
Who can help?

THX

darwin01
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue Jan 27, 2009 4:49 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by darwin01 » Thu Jan 03, 2013 6:21 pm

flob1337,
I noticed no one has posted any solution to your problem. Did you figure out a solution yourself? I have the same problem and I'm not having any luck fixing it.

Just let me know, if you have a moment.

thanks.

shanewaj
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Apr 23, 2008 12:51 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by shanewaj » Tue Jan 08, 2013 2:44 am

Non-static method JSite::getMenu() should not be called statically, assuming
$this from incompatible context in
components/com_fjrelated/views/fjrelated/view.html.php on line 54

Line 54 reads:
$menus = JSite::getMenu();

But should read:
$menus = $app->getMenu();

If app is not defined before please define app before calling.
$app = JFactory::getApplication();

bkazar
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jan 12, 2013 1:35 pm
Location: Turkey
Contact:

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by bkazar » Sat Jan 12, 2013 1:37 pm

Arel3 wrote:I'm getting the same error trying to run the latest version of joomla on easyPHP. Going to try wamp to see if I get the same result. Restarting the servers didn't correct it for me either. And it unfortunately doesn't look like anyone here is going to be of any help since the last post is nearly a month old with no replies :(

Same on easyPHP site. Others have reported the same errors. No replies.
i'm also have the same problem. But unfortunately i'm also giving an error report, no reply... :/

tevans67
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Jan 14, 2013 10:55 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by tevans67 » Tue Jan 15, 2013 6:54 am

I am having same problem.. I first tried joomla 2.5 and worked but had problems with code breaking with some extensions so I thought I would try 1.5.26 and when I went to load it gave me these errors. Also is said !scream suppression ignored right before all these error readings.. somebody help. Oh yea and I am using Wamp

tevans67
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Jan 14, 2013 10:55 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by tevans67 » Tue Jan 15, 2013 6:56 am

oh and I tried to find the configuration file in my Joomla but all I have is a configuration.php_dist file

SizweMajola
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 30, 2013 6:43 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by SizweMajola » Wed Jan 30, 2013 6:55 pm

Please open the template index.php file and remove following lines:

// enable showing errors in PHP
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');

it probably overrides your php.ini rules.

hum4nb31ng
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Feb 26, 2009 4:10 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by hum4nb31ng » Wed Feb 20, 2013 1:21 am

Code: Select all

; error_reporting = E_ALL | E_STRICT
working on me,..

Win7, XAMPP 1.8.1, and Joomla 2.5.7

Thanks a bunch ;)

almost forget,.. my problem comes up after i used j51_oxygen template.

lucifier
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Mar 26, 2013 2:47 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by lucifier » Tue Mar 26, 2013 3:13 am

Hi, Check out this link
http://www.gavick.com/forums/corporate- ... 18402.html

Summary:Replace
>>// $menu = JSite::getMenu();
with
>>$app = JFactory::getApplication();
$menu = $app->getMenu();

It worked for me.

Thanks,
L

GillouDeLabas
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jul 23, 2011 9:43 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by GillouDeLabas » Thu Jun 13, 2013 12:39 pm

shanewaj wrote:Non-static method JSite::getMenu() should not be called statically, assuming
$this from incompatible context in
components/com_fjrelated/views/fjrelated/view.html.php on line 54

Line 54 reads:
$menus = JSite::getMenu();

But should read:
$menus = $app->getMenu();

If app is not defined before please define app before calling.
$app = JFactory::getApplication();
Thanks a lot for your solution that help me a lot.
When I migrate my PHP version from 5.5.2 to 5.5.24 a lot of "Strict Standards: Non-static method" are appeared on my site. I modified my files to have a correct encoding with the PHP 5.5 methods.

Wveen
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jul 31, 2013 7:31 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by Wveen » Wed Jul 31, 2013 7:34 am

Location: xampp\mysql\bin\my.ini

This works also for me, Thanks

Greetings Wveen ;D

crashtackle
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 116
Joined: Tue Apr 17, 2007 10:34 am
Location: Durban, South Africa.

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by crashtackle » Fri Oct 04, 2013 6:14 am

// enable showing errors in PHP
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');
Worked for me! Was overriding the htaccess

Thanks guys!

chrisber
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Nov 11, 2013 5:13 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by chrisber » Mon Nov 11, 2013 5:31 pm

thanks a lot to all for these contributions.
Was very useful

User avatar
pracas
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun May 04, 2008 2:36 pm
Location: Nepal
Contact:

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by pracas » Sat Nov 23, 2013 11:04 am

This is very simple,

Administrator>Global Configuration>Server>Error Reporting : Make it none

or just see the pic :
You do not have the required permissions to view the files attached to this post.

Prakash Upreti

Chief Executive Officer
Twitter : http://www.twitter.com/pracas
http://www.pracasinfosys.com/

briantokyo
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Mon Feb 26, 2007 10:25 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by briantokyo » Fri Dec 27, 2013 12:29 pm

I fixed this by overriding php ini directly in the main index.php file of the joomla install:

ini_set('error_reporting', E_ALL & ~E_NOTICE);
ini_set('display_errors', 'Off');

Image

Joomzilla
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Feb 08, 2014 5:32 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by Joomzilla » Sat Feb 08, 2014 8:09 am

Thanks scorp2000! That helped me and worked perfectly.

Go to joomla configuration.php file and replace
$error_reporting = 'default';
or whatever it says with:
$error_reporting = '6143';

Whatever it says in quotes replace it with 6143

User avatar
vbsouthern
Joomla! Intern
Joomla! Intern
Posts: 59
Joined: Mon Aug 28, 2006 11:21 pm
Location: Denver, Colorado
Contact:

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by vbsouthern » Fri Jun 06, 2014 2:52 am

Joomzilla wrote:Thanks scorp2000! That helped me and worked perfectly.

Go to joomla configuration.php file and replace
$error_reporting = 'default';
or whatever it says with:
$error_reporting = '6143';

Whatever it says in quotes replace it with 6143
This also works in Joomla! 2.5.20 except the setting is in Global Configuration >> Server >> Error Reporting, I set mine to "None".

Thanks scorp2000 and Joomzilla

Also see pracas's image above;
http://forum.joomla.org/viewtopic.php?f ... 6#p3109839
With the world population surpassing seven billion humans, remaining Childfree is an educated, rational, modern and well informed choice. The bias Childfree people are subjected to would seem to defy all logic.
http://www.childfreelovers.com/

skarani
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 24, 2014 7:28 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by skarani » Wed Jun 25, 2014 7:22 am

SizweMajola wrote:Please open the template index.php file and remove following lines:

// enable showing errors in PHP
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');

it probably overrides your php.ini rules.
help, i have open template folder and index.php file but i cant see this lines!

egew
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 10, 2009 7:11 am

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by egew » Sat Jul 05, 2014 2:00 am

If the PHP on your server has been updated, this issue can happen.

On my old Joomla 1.5.20 website I had this problem. Discovered that the PHP had been updated on the server from 5.3 to 5.4.

Joomla 1.5.20 is not compatible with PHP 5.4 or 5.5.

Solution is to have PHP 5.3 (or earlier) reinstalled. This will make the PHP.ini file compatible again.

dajoh
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 13, 2014 10:05 pm

Re: Fixed: Strict Standards: Non-static method JLoader::impo

Post by dajoh » Wed Aug 13, 2014 10:07 pm

Me sirvió poniendo el punto y coma en la linea de
"error_reporting = E_ALL"

muchas gracias


Locked

Return to “Administration 1.5”