Title: PHP Fatal Error
Last modified: March 5, 2024

---

# PHP Fatal Error

 *  Resolved [hubbardfam](https://wordpress.org/support/users/hubbardfam/)
 * (@hubbardfam)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-419/)
 * **Fatal Error with Undefined Function Call to `php_uname()`**
 * **Description:** While using the Give plugin on my WordPress site, I encountered
   a fatal error related to an undefined function call to `php_uname()`. This error
   is occurring within the Give plugin’s tracking feature, specifically in the `
   ServerData.php` file at line 48.
 * **Summarised Error Message:**
 * [04-Mar-2024 08:27:50 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function Give\Tracking\TrackingData\php_uname() in /var/www/wptbox/wp-content/
   plugins/give/src/Tracking/TrackingData/ServerData.php:48
 * **Full Error Message:**
 * [04-Mar-2024 08:27:50 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function Give\Tracking\TrackingData\php_uname() in /var/www/wptbox/wp-content/
   plugins/give/src/Tracking/TrackingData/ServerData.php:48
   Stack trace: 0 /var/
   www/wptbox/wp-content/plugins/give/src/Tracking/TrackingData/ServerData.php(27):
   Give\Tracking\TrackingData\ServerData->getServerData() 1 /var/www/wptbox/wp-content/
   plugins/give/src/Tracking/TrackingData/WebsiteData.php(40): Give\Tracking\TrackingData\
   ServerData->get() 2 /var/www/wptbox/wp-content/plugins/give/src/Tracking/TrackingData/
   WebsiteInfoData.php(44): Give\Tracking\TrackingData\WebsiteData->get() 3 /var/
   www/wptbox/wp-content/plugins/give/src/Tracking/Repositories/TrackEvents.php(
   121): Give\Tracking\TrackingData\WebsiteInfoData->get() 4 /var/www/wptbox/wp-
   content/plugins/give/src/Tracking/Events/WebsiteTracking.php(52): Give\Tracking\
   Repositories\TrackEvents->storeWebsiteTrackingEvent() 5 [internal function]: 
   Give\Tracking\Events\WebsiteTracking->websiteUpdateTrackingHandler() 6 /var/www/
   wptbox/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array()
   7 /var/www/wptbox/wp-includes/class-wp-hook.php(324): Give\Helpers\Hooks::Give\
   Helpers{closure}() 8 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook-
   >apply_filters() 9 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()
   10 /var/www/wptbox/wp-includes/load.php(1260): do_action() 11 [internal function]:
   shutdown_action_hook() 12 {main}
 * thrown in /var/www/wptbox/wp-content/plugins/give/src/Tracking/TrackingData/ServerData.
   php on line 48
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatal-error-419%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [hubbardfam](https://wordpress.org/support/users/hubbardfam/)
 * (@hubbardfam)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-419/#post-17475269)
 * **PHP VERSION:** 8.0.25
   **WP Memory Limit: **256 MB
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-419/#post-17475885)
 * Hi, [@hubbardfam](https://wordpress.org/support/users/hubbardfam/).
 * Glad you reached out.
 * **php_uname()** returns a description of the operating system PHP is running 
   on. This is the same string you see at the very top of the [phpinfo()](https://www.php.net/manual/pt_BR/function.phpinfo.php)
   output. For the name of just the operating system, consider using the **`[PHP_OS](https://www.php.net/manual/pt_BR/reserved.constants.php#constant.php-os)`**
   constant, but keep in mind this constant will contain the operating system PHP
   was _built_ on.
 * On some older UNIX platforms, it may not be able to determine the current OS 
   information, in which case it will revert to displaying the OS PHP was built 
   on. This will only happen if your uname() library call either doesn’t exist or
   doesn’t work.
 * In this case, can you confirm with your host that this function is enabled on
   your site? If it isn’t active, there are chances that it will break the website.
 * Looking forward to helping you get to the bottom of this!
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-419/#post-17491802)
 * Hi there.
 * It’s been a while since we’ve heard back, and I know troubleshooting needs a 
   little extra time. I’m marking this as resolved for now, but if you still have
   questions, you can send them along right here, and I’ll be happy to hop back 
   in.
 * Have a great day!

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

The topic ‘PHP Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-419/#post-17491802)
 * Status: resolved