Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#44282 closed defect (bug) (invalid)

Fatal error on 4.9.6 dashboard due to GPDR changes

Reported by: tristanleboss's profile tristanleboss Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords:
Focuses: Cc:



I encountered a fatal error after updating to 4.9.6 and accessing the dashboard home page.

Something lead WordPress to use a (not yet) defined function:

PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function wp_privacy_anonymize_ip() in /var/www/community/wp-admin/includes/class-wp-community-events.php:267

Stack trace:
#0 /var/www/community/wp-includes/script-loader.php(1158): WP_Community_Events::get_unsafe_client_ip()
#1 /var/www/community/wp-includes/class-wp-hook.php(286): wp_localize_community_events('')
#2 /var/www/community/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#3 /var/www/community/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /var/www/community/wp-admin/admin-header.php(118): do_action('admin_print_scr...')
#5 /var/www/community/wp-admin/index.php(100): include('/var/www/commun...')
#6 {main}
thrown in /var/www/community/wp-admin/includes/class-wp-community-events.php on line 267

Change History (3)

#1 @tristanleboss
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

We discovered that one file was not updated.

#2 @netweb
5 years ago

  • Milestone Awaiting Review deleted

#3 @SergeyBiryukov
5 years ago

  • Component changed from General to Privacy
  • Severity changed from blocker to normal
  • Summary changed from Fatal error on 4.9.6 dashboard due to RGPD changes to Fatal error on 4.9.6 dashboard due to GPDR changes
Note: See TracTickets for help on using tickets.