Automattic / WP-Job-Manager

Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
https://wpjobmanager.com
GNU General Public License v3.0
900 stars 368 forks source link

PHP 8.3 deprecated notice for class-wp-job-manager-usage-tracking.php #2807

Closed Hastibe closed 2 months ago

Hastibe commented 5 months ago

Getting this "PHP Depreciated" notice in my debug.log on PHP 8.3. Just a FYI:

PHP Deprecated: Calling get_class() without arguments is deprecated in /wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-usage-tracking.php on line 163

azollafox commented 4 months ago

There's another report of this on the forums

The user sees this error:

Deprecated: Calling get_class) without arguments is deprecated in ************/wp-contents/plugins/wp-jobmanager/includes/class-wp-jobmanager-usage-tracking.php on line 163
Liztowoju commented 3 months ago

We have another user with the same report on the forums

They see this error:

Deprecated: Calling get_class() without arguments is deprecated in /home/radicalt/opexrecruiting.com/wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-usage-tracking.php on line 163

masteradhoc commented 2 months ago

Hi there We have the same issue currently.

Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/xxxxxxxx/httpdocs/wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-usage-tracking.php on line 163

Thanks for fixing this deprecated message.