• Resolved Rudy76

    (@rudy76)


    We have tracking disabled in the Yoast SEO admin settings. Our host has php_uname() disabled due to security reasons and will not enable it on PHP 8.

    We are getting the following fatal error after upgrading to PHP 8.0. The Yoast SEO admin section settings are blank. With PHP 7.4 going end of life (EOL) on the 28 November 2022, will you be fixing this soon?

    WordPress version 6.0.1
    Current plugin: Yoast SEO (version 19.5.1)
    PHP version 8.0.22

    Error Details
    =============
    An error of type E_ERROR was caused in line 39 of the file /home/xxx/public_html/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php. Error message: Uncaught Error: Call to undefined function php_uname() in /home/xxx/public_html/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php:39
    Stack trace:
    #0 /home/xxx/public_html/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php(20): WPSEO_Tracking_Server_Data->get_server_data()
    #1 /home/xxx/public_html/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(237): WPSEO_Tracking_Server_Data->get()
    #2 /home/xxx/public_html/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(201): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->get_server_info()
    #3 /home/xxx/public_html/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(156): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->get_session_data()
    #4 /home/xxx/public_html/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->output_beacon_js()
    #5 /home/xxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #6 /home/xxx/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #7 /home/xxx/public_html/wp-admin/admin-footer.php(78): do_action()
    #8 /home/xxx/public_html/wp-admin/admin.php(297): require_once(‘/home/xxx/…’)
    #9 {main}
    thrown`

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error Uncaught Error: Call to undefined function php_uname()’ is closed to new replies.