@moussia26 We apologize for the difficulties and can certainly understand how this would be frustrating.
Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.
Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.
If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.
This is also happening to me. I followed troubleshooting and used a default theme (twenty-twenty) and enabled only the Yoast SEO plugin (free). The plugin will not load, I get an email with the error information below:
Error Details
=============
An error of type E_ERROR was caused in line 39 of the file /www/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php. Error message: Uncaught Error: Call to undefined function php_uname() in /www/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php:39
Stack trace:
#0 /www/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php(20): WPSEO_Tracking_Server_Data->get_server_data()
#1 /www/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(237): WPSEO_Tracking_Server_Data->get()
#2 /www/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(201): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->get_server_info()
#3 /www/wp-content/plugins/wordpress-seo/src/integrations/admin/helpscout-beacon.php(156): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->get_session_data()
#4 /wordpress/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Integrations\Admin\HelpScout_Beacon->output_beacon_js('')
#5 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#6 /wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#7 /wordpress/wp-admin/admin-footer.php(78): do_action('admin_footer', '')
#8 /wordpress/wp-admin/admin.php(297): require_once('/wordpress/wp-a...')
#9 {main}
thrown
Hey @amantica,
Thank you for your response and for the error stack.
We see that it relates to a PHP function that seems not to be present in the PHP version you are running. Are you by any chance running a very recent PHP 8.0 or 8.1 version on the site? Please check if you can downgrade to PHP 7.5 and if that resolves the issue for now. We continue to work to full compatibility with PHP 8 and 8.1, but it’s work in progress.
This thread has been marked as resolved due to a lack of activity.
You’re always welcome to re-open this topic. Please read this post before opening a new request.
Thanks for understanding!