Title: Plugin incompatible with PHP 8.0
Last modified: November 4, 2022

---

# Plugin incompatible with PHP 8.0

 *  [nicsevic](https://wordpress.org/support/users/nicsevic/)
 * (@nicsevic)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-0/)
 * Hi there,
 * I’m reaching out on behalf of WordPress.com. We have received a few reports from
   users that fatal errors are occurring with your plugin once a site is upgraded
   to PHP version 8.0. We were able to test to confirm this and I wanted to share
   the specific error with you below. If you have any other questions about this
   please feel free to reach out to us at [help@wordpress.com](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-0/help@wordpress.com?output_format=md).
 *     ```
       PHP Fatal error:  Uncaught ArgumentCountError: time() expects exactly 0 arguments, 1 given in /srv/htdocs/wp-content/plugins/user-profile/user-profile.php:149
       Stack trace:
       #0 /srv/htdocs/wp-content/plugins/user-profile/user-profile.php(149): time('H:s')
       #1 /wordpress/core/6.1/wp-includes/class-wp-hook.php(308): UserProfile->front_scripts('')
       #2 /wordpress/core/6.1/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
       #3 /wordpress/core/6.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #4 /wordpress/core/6.1/wp-includes/script-loader.php(2180): do_action('wp_enqueue_scri...')
       #5 /wordpress/core/6.1/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts('')
       #6 /wordpress/core/6.1/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
       #7 /wordpress/core/6.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #8 /wordpress/core/6.1/wp-includes/general-template.php(3043): do_action('wp_head')
       #9 /srv/htdocs/wp-content/plugins/royal-elementor-addons/admin/templates/wpr-canvas.php(24): wp_head()
       #10 /wordpress/core/6.1/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...')
       #11 /wordpress/core/6.1/wp-blog-header.php(19): require_once('/wordpress/core...')
       #12 /wordpress/core/6.1/index.php(17): require('/wordpress/core...')
       #13 {main}
         thrown in /srv/htdocs/wp-content/plugins/user-profile/user-profile.php on line 149
       ```
   

The topic ‘Plugin incompatible with PHP 8.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-profile_7e7a79.svg)
 * [User profile](https://wordpress.org/plugins/user-profile/)
 * [Support Threads](https://wordpress.org/support/plugin/user-profile/)
 * [Active Topics](https://wordpress.org/support/plugin/user-profile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-profile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-profile/reviews/)

## Tags

 * [PHP compatibility](https://wordpress.org/support/topic-tag/php-compatibility/)

 * 0 replies
 * 1 participant
 * Last reply from: [nicsevic](https://wordpress.org/support/users/nicsevic/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-0/)
 * Status: not resolved