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

The error message...

 Strict Standards: Non-static method JLoader::register() should not be called statically in means that the JLoader::register() method is being called statically, but it is not a static method. This can happen for a number of reasons, such as:

 

  • The PHP version on your web hosting server is not compatible with the Joomla version that you are using.
  • The Joomla configuration file is not set up correctly.
  • There is a problem with the Joomla installation.

 

To fix this error, you will need to update the PHP version in your control panel with Ultra, or you will need to configure the Joomla configuration file correctly. If you are not sure how to do this, you may need to contact Ultra for assistance.

 

Here are some additional details about the JLoader::register() method:

  • The JLoader::register() method is used to register a class or a library with the Joomla framework.
  • The method is not a static method, which means that it must be called from an object.
  • If the JLoader::register() method is called statically, an error will be displayed.

It is best practice to update your script to the latest version whenever possible. If necessary you may create a php.ini in the folders of the script which includes the following:

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
date.timezone="America/Los_Angeles"

  • 109 Users Found This Useful

Was this answer helpful?

Related Articles

Warning: Unknown(): open_basedir restriction in effect

Basedir restriction is set for security. This most often occurs when you are calling an app...

How do I update my version of PHP?

PHP needs to be updated. What do I do?We make changing your version of PHP easy. Simply login to...

Learn About MySQL

MySQL is a relational database management system (RDBMS) that is open-source and free to use. It...

Increase PHP Memory

Fatal error: Allowed memory size of xxxxxxxxx bytes exhausted (tried to allocate xxxxxxxx bytes)....

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...