Title: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wpforo
Last modified: August 4, 2022

---

# PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wpforo

 *  Resolved [GDU](https://wordpress.org/support/users/gettingdownunder/)
 * (@gettingdownunder)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/)
 * Hey guys
 * After updating, I’m getting the following error:
 * > PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wpforo_is_admin()
 * Full error
 * > `25841#0: *197845 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught
   > Error: Call to undefined function wpforo_is_admin() in /var/www/vhosts/mydomain.
   > com/httpdocs/wp-content/plugins/go2wpforo/includes/functions.php:7
   >  Stack trace:#
   > 0 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(307):
   > mg2wpforo_init() #1 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-
   > wp-hook.php(331): WP_Hook->apply_filters() #2 /var/www/vhosts/mydomain.com/
   > httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #3 /var/www/vhosts/
   > mydomain.com/httpdocs/wp-settings.php(461): do_action() #4 /var/www/vhosts/
   > mydomain.com/httpdocs/wp-config.php(59): require_once(‘/var/www/vhosts…’) #
   > 5 /var/www/vhosts/mydomain.com/httpdocs/wp-load.php(50): require_once(‘/var/
   > www/vhosts…’) #6 /var/www/vhosts/mydomain.com/httpdocs/wp-admin/admin-ajax.
   > php(22): require_once(‘/var/www/vhosts…’) #7 {main} More >>`
 * 😐

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

 *  Thread Starter [GDU](https://wordpress.org/support/users/gettingdownunder/)
 * (@gettingdownunder)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15886537)
 * Downgraded back to 1.9.9.2 and working ok again. I’d appreciate any insight or
   suggestions before I upgrade again.
 * Thanks in advance
 *  [stinsonowners108](https://wordpress.org/support/users/stinsonowners108/)
 * (@stinsonowners108)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15886672)
 * I got the same error today, I have the auto-update for the plug in turned on,
   and I guess that is what triggered it.
 * The plugin version is 2.0.2
    WP version is 6.0.1
 * Any details on a fix? I disabled the Plug-in for now
 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15886689)
 * [@gettingdownunder](https://wordpress.org/support/users/gettingdownunder/),
    
   You don’t need to downgrade. Just delete the old unnecessary go2wpforo plugin,
   which is still active and causes incompatibility error with wpForo 2.0. Just 
   delete that plugin and update wpForo again.
 * If you cannot access to your dashboard, use some FTP client or the File Manager
   of your hosting cPanel and delete the /go2wpforo/ folder in /wp-content/plugins/
   directory.
 * The error is caused by very old wpForo migration tool called go2wpforo. It’s 
   not compatible with wpForo v2. This tool only helps to migrate to wpForo, once
   the migration is finished you should have deactivated and deleted it.
 *  Thread Starter [GDU](https://wordpress.org/support/users/gettingdownunder/)
 * (@gettingdownunder)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15886918)
 * Thanks OK – disabled/deleted go2wpforo and upgraded to the latest version of 
   wpforo.
 * This time – When I viewed my forum homepage – I get a critical error with he 
   following in my logs.
 * `AH01071: Got error 'PHP message: PHP 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 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wpforo/
   includes/functions.php on line 2702PHP message: WordPress database error Unknown
   column 'facebook' in 'field list' for query SELECT`userid`,`facebook`,`twitter`,`
   skype`,`fields`\r\n\t\t\tFROM`nBD0D5u1_wpforo_profiles`\r\n\t\t\tWHERE (`facebook`
   IS NOT NULL AND`facebook`<> '') \r\n\t\t\t\tOR (`twitter`IS NOT NULL AND`twitter`
   <> '') \r\n\t\t\t\tOR (`skype`IS NOT NULL AND`skype`<> '') made by require('wp-
   blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'),
   require_once('wp-settings.php'), do_action('after_setup_theme'), WP_Hook->do_action,
   WP_Hook->apply_filters, wpforo\\wpforo->wpforo\\{closure}, wpforo\\wpforo->init,
   wpforo\\wpforo->init_classes, do_action('wpforo_after_init_classes'), WP_Hook-
   >do_action, WP_Hook->apply_filters, wpforo\\classes\\Actions->wpforo\\classes\\{
   closure}, wpforo_activation, wpforo_alter_tablesPHP message: WordPress database
   error Unknown column 'rank' in 'nBD0D5u1_wpforo_profiles' for query ALTER TABLE`
   nBD0D5u1_wpforo_profiles`\r\n\t\t\tDROP COLUMN`username`,\r\n\t\t\tDROP COLUMN`
   last_login`,\r\n\t\t\tDROP COLUMN`icq`,\r\n\t\t\tDROP COLUMN`aim`,\r\n\t\t\tDROP
   COLUMN`yahoo`,\r\n\t\t\tDROP COLUMN`msn`,\r\n\t\t\tDROP COLUMN`gtalk`,\r\n\t\
   t\tDROP COLUMN`like`,\r\n\t\t\tDROP COLUMN`site`,\r\n\t\t\tDROP COLUMN`facebook`,\
   r\n\t\t\tDROP COLUMN`twitter`,\r\n\t\t\tDROP COLUMN`skype`,\r\n\t\t\tADD COLUMN`
   topics`INT UNSIGNED NOT NULL DEFAULT 0 AFTER`posts`,\r\n\t\t\tADD COLUMN`reactions_in`
   TEXT AFTER`comments`,\r\n\t\t\tADD COLUMN`reactions_out`TEXT AFTER`reactions_in`,\
   r\n\t\t\tADD COLUMN`points`INT NOT NULL DEFAULT 0 AFTER`reactions_out`,\r\n\t\
   t\tCHANGE COLUMN`secondary_groupssecondary_groupids`VARCHAR(255) AFTER`groupid`,\
   r\n\t\t\tCHANGE COLUMN`rankcustom_points`INT NOT NULL DEFAULT 0 AFTER`points`,\
   r\n\t\t\tMODIFY COLUMN`avatar`VARCHAR(255) AFTER`secondary_groupids`,\r\n\t\t\
   tMODIFY COLUMN`online_time`INT UNSIGNED AFTER`custom_points`,\r\n\t\t\tMODIFY
   COLUMN`t…’`
 * Any assistance with this will be appreciated.
    -  This reply was modified 3 years, 10 months ago by [GDU](https://wordpress.org/support/users/gettingdownunder/).
 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15887195)
 * [@gettingdownunder](https://wordpress.org/support/users/gettingdownunder/),
    
   All is clear, the update didn’t completed so the database tables are not updated,
   please go to wpForo > Tools > Database tables Tab and take a screenshot. If you
   see any error, then just click the [Solve Database problems] button.
 *  Thread Starter [GDU](https://wordpress.org/support/users/gettingdownunder/)
 * (@gettingdownunder)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15890046)
 * Hi guys
 * OK – Finally got it working (I think) I ended up deleting the plugin, deleting
   all of the wpforo DB tables and reinstalling wpforo from fresh.
 * I then reimported the content of my forums, posts and topics from a DB backup
   and left everything else untouched.
 * So far so good although I had to disable my redirect2wpforo plugin as this was
   throwing out errors
 * > `AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to 
   > undefined function is_wpforo_page() in /var/www/vhosts/mydomain.com/httpdocs/
   > wp-content/plugins/redirect2wpforo/redirect2wpforo.php:13\nStack trace:\n#0/
   > var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(307): go2wpforo_do_redirection()\
   > n#1 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/class-wp-hook.php(331):
   > WP_Hook->apply_filters()\n#2 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/
   > plugin.php(476): WP_Hook->do_action()\n#3 /var/www/vhosts/mydomain.com/httpdocs/
   > wp-settings.php(530): do_action()\n#4 /var/www/vhosts/mydomain.com/httpdocs/
   > wp-config.php(59): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/mydomain.
   > com/httpdocs/wp-load.php(50): require_once('/var/www/vhosts...')\n#6 /var/www/
   > vhosts/mydomain.com/httpdocs/wp-blog-header.php(13): require_once('/var/www/
   > vhosts...')\n#7 /var/www/vhosts/mydomain.com/httpdocs/index.php(17): require('/
   > var/www/vhosts...')\n#8 {main}\n thrown in /var/www/vhosts/mydomain.com/httpdocs/
   > wp-content/plugins/re...',`
 * I’m unsure if this is just a known fault or something specific to my setup.
 *  Plugin Support [gVectors Dev](https://wordpress.org/support/users/gvectorsdevs/)
 * (@gvectorsdevs)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15893428)
 * [@gettingdownunder](https://wordpress.org/support/users/gettingdownunder/),
    
   thanks for the info.

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

The topic ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function
wpforo’ is closed to new replies.

 * ![](https://ps.w.org/wpforo/assets/icon-256x256.png?rev=2121644)
 * [wpForo Forum](https://wordpress.org/plugins/wpforo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforo/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforo/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [gVectors Dev](https://wordpress.org/support/users/gvectorsdevs/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-message-php-fatal-error-uncaught-error-call-to-undefined-function-wpforo/#post-15893428)
 * Status: resolved