Title: Array Error in 1.0.5
Last modified: August 21, 2016

---

# Array Error in 1.0.5

 *  Resolved [MisterCougar52](https://wordpress.org/support/users/mistercougar52/)
 * (@mistercougar52)
 * [12 years ago](https://wordpress.org/support/topic/array-error-in-105/)
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, first
   array member is not a valid class name or object in /home/**sitename**/public_html/
   wp-includes/plugin.php on line 470
 * [https://wordpress.org/plugins/wp-rpg-attack/](https://wordpress.org/plugins/wp-rpg-attack/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tim](https://wordpress.org/support/users/uaktags/)
 * (@uaktags)
 * [12 years ago](https://wordpress.org/support/topic/array-error-in-105/#post-4933806)
 * Thank you, looking into that now.
 * Is this error occuring on every screen, after an attack, just in admin, etc?
 *  Plugin Author [Tim](https://wordpress.org/support/users/uaktags/)
 * (@uaktags)
 * [12 years ago](https://wordpress.org/support/topic/array-error-in-105/#post-4933824)
 * Found the error. Appears to be that on some configurations the plugins were loaded
   BEFORE wpRPG. So my simple check of (class_exists(‘wpRPG’)) would give a FALSE
   statement because at the time, it truely doesn’t exist yet.
 * Fixed with a wordpress action to call class_exists after ALL plugins are loaded.
 *  Plugin Author [Tim](https://wordpress.org/support/users/uaktags/)
 * (@uaktags)
 * [12 years ago](https://wordpress.org/support/topic/array-error-in-105/#post-4934058)
 * Marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Array Error in 1.0.5’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/uaktags/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/array-error-in-105/#post-4934058)
 * Status: resolved