Site shows Strict Standards: Non-static method JLoader::register() should not be called statically

Status
Not open for further replies.

stronaliskow62

New Member
Messages
10
Reaction score
0
Points
1
Hi,
when I'm trying to open my site gimlisk.x10.mx it shows a lot of sentences like:

Strict Standards: Non-static method JLoader::register() should not be called statically in home/gimlisk/public_html/libraries/loader.php on line 138
Strict Standards: Non-static method JLoader::import() should not be called statically in home/gimlisk/public_html/libraries/joomla/import.php on line 46

I'm not good at computers so I don't know what it means :(
Similar sentences appear when I'm trying to log in to gimlisk.x10.mx/administrator.
I haven't got any problems with cPanel - here everything works correctly.

login to cPanel: stronaliskow@tlen.pl
I'll be really grateful for your help.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
This is a non-crucial error message. PHP is simply warning you that you are calling a function wrong, and this will not actually affect your site's functionality.

To remove the error messages, you should set your error_reporting value to exclude E_STRICT. To do this, youc an either use the error_reporting() function in your PHP code, or, if you are using a CMS, there may be an option in your configuration file.
 

stronaliskow62

New Member
Messages
10
Reaction score
0
Points
1
Thanks for your reply but could you write step by step where and how to do it? I don't even know where to look for PHP..
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
If you're using Joomla, it might be an option in your config.
 

stronaliskow62

New Member
Messages
10
Reaction score
0
Points
1
I think I've found SETTINGS in Global Configuration but whenever I click on it an "error: Token mismatch" appears and I'm unable to go further.
 

stronaliskow62

New Member
Messages
10
Reaction score
0
Points
1
If you have any suggestions, please help me. And I'll be grateful if you explain what I should do step by step.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,818
Reaction score
163
Points
63
You can try adding this to your root .htaccess

Code:
AddHandler application/x-httpd-php53 .php

This will revert you back to php 5.3. You should then be able to load your settings, turn off error reporting, and then go back to PHP 5.4/5.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
I also recommend updating Joomla to its latest version, if you are not already running it. That may fix some compatibility issues with the latest version of PHP.
 

Jim Windwalker

New Member
Messages
11
Reaction score
0
Points
1
Yeah that is one of the problems I have too.It may be non crucial, but it started after Neil fixed my site and it gives me a 404 message with it.
 
Status
Not open for further replies.
Top