Strict Standards Error in Joomla

PHP Scripts | Updated 2026

Strict Standards errors in Joomla (such as "Strict Standards: Non-static method should not be called statically" or "Declaration should be compatible") are PHP compatibility warnings caused by older Joomla code running on modern PHP versions.

Fix

Update Joomla or suppress Strict Standards

  • Update Joomla to the latest version - fixes the root cause
  • Temporary workaround: Add to .user.ini in your site directory:
    error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

These are cosmetic warnings, not errors. Your site still functions, but the warnings clutter error logs and may display on screen. The same fix applies to JLoader, JParameter, JRegistry, and other J-prefixed class warnings.

See also Strict Standards JLoader and Magic Quotes Joomla. For PHP version changes, see Change PHP Version.

End of Life

Joomla 3 reached end of life in August 2023. If you are still on Joomla 3, migrate to Joomla 4 or 5. Unsupported versions receive no security patches.

Need Help Updating?

Open a Support Ticket

Quick Recap

  1. Update Joomla for the proper fix
  2. Suppress via .user.ini as a temporary measure
  3. Warnings are cosmetic - Site still works
  4. Joomla 3 is end of life
  5. Back up before updating

PHP compatibility · Last updated March 2026 · Browse all PHP Scripts articles

  • 178 Users Found This Useful

Was this answer helpful?

Related Articles

Best WP Plugins

WordPress | Updated March 2026 Here are the most recommended WordPress plugins across the...

How to reset the admin password in Drupal

PHP Scripts | Updated 2026 If you are locked out of your Drupal admin panel, you can reset...

Tiki Wiki: Notice: Only variable references should be returned by reference

PHP Scripts | Updated 2026 The "Notice: Only variable references should be returned by...

How do I reset Zen Cart administrator password?

PHP Scripts | Updated 2026 If you are locked out of your Zen Cart admin panel, you can reset...

Coppermine Gallery cannot create thumbnails

PHP Scripts | Updated 2026 If Coppermine Photo Gallery cannot create thumbnails or...



Save 30% on web hosting - Use coupon code Hosting30