Title: Getting errors when doing certain things
Last modified: March 17, 2024

---

# Getting errors when doing certain things

 *  Resolved [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/getting-errors-when-doing-certain-things/)
 * For example, if I try to delete a user, it won’t let me, I get:
 * `Fatal error: Uncaught Error: Call to undefined function add_user_to_blog() in/
   hermes/walnacweb05/walnacweb05am/b836/moo.drmichaelegan/westshorepress/wp-content/
   themes/author-portfolio/functions.php:210 Stack trace: #0 /hermes/walnacweb05/
   walnacweb05am/b836/moo.drmichaelegan/westshorepress/wp-settings.php(611): include()#
   1 /hermes/walnacweb05/walnacweb05am/b836/moo.drmichaelegan/westshorepress/wp-
   config.php(96): require_once('/hermes/walnacw...') #2 /hermes/walnacweb05/walnacweb05am/
   b836/moo.drmichaelegan/westshorepress/wp-load.php(50): require_once('/hermes/
   walnacw...') #3 /hermes/walnacweb05/walnacweb05am/b836/moo.drmichaelegan/westshorepress/
   wp-admin/admin.php(34): require_once('/hermes/walnacw...') #4 /hermes/walnacweb05/
   walnacweb05am/b836/moo.drmichaelegan/westshorepress/wp-admin/users.php(11): require_once('/
   hermes/walnacw...') #5 {main} thrown in /hermes/walnacweb05/walnacweb05am/b836/
   moo.drmichaelegan/westshorepress/wp-content/themes/author-portfolio/functions.
   php on line 210`

Viewing 1 replies (of 1 total)

 *  Theme Author [RS WP THEMES](https://wordpress.org/support/users/rswpthemes/)
 * (@rswpthemes)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/getting-errors-when-doing-certain-things/#post-17524792)
 * Hi, that was an experimental code. i forgot to remove that.
 * Please update theme and it’s solved I hope.

Viewing 1 replies (of 1 total)

The topic ‘Getting errors when doing certain things’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/author-portfolio/4.2.52/screenshot.
   png)
 * Author Portfolio
 * [Support Threads](https://wordpress.org/support/theme/author-portfolio/)
 * [Active Topics](https://wordpress.org/support/theme/author-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/author-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/author-portfolio/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [RS WP THEMES](https://wordpress.org/support/users/rswpthemes/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/getting-errors-when-doing-certain-things/#post-17524792)
 * Status: resolved