Title: Fatal error: Call to undefined function get_called_class()
Last modified: September 16, 2016

---

# Fatal error: Call to undefined function get_called_class()

 *  Resolved [bbokac](https://wordpress.org/support/users/bbokac/)
 * (@bbokac)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_called_class/)
 * Anyone who gets something like:
 * Plugin could not be activated because it triggered a fatal error.
    Fatal error:
   Call to undefined function get_called_class() in XXXXXX/public_html/wp-content/
   plugins/wsecure/wsecure-authentication.php on line 18
 * PHP function get_called_class() introduced in PHP version 5.3.0 and above. So
   this means in your server running older PHP version. Solution is in cPanel or
   other type hosting panel (depends on your hosting) in “PHP Configuration” if 
   you can increase php version to minimum 5.3.0 or greater or contact hosting to
   correct that.
 * I had this situation and I would like to share to all others who face with this
   issue.

The topic ‘Fatal error: Call to undefined function get_called_class()’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wsecure.svg)
 * [wsecure lite](https://wordpress.org/plugins/wsecure/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wsecure/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wsecure/)
 * [Active Topics](https://wordpress.org/support/plugin/wsecure/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wsecure/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wsecure/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [bbokac](https://wordpress.org/support/users/bbokac/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_called_class/)
 * Status: resolved