Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#28942 closed defect (bug) (fixed)

Static function WP_Session_Tokens Warning

Reported by: josh401's profile josh401 Owned by:
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: General Keywords:
Focuses: Cc:


I'm in unfamiliar territory here.

I'm using a localhost install updated to the nightly build. PHP version is 5.5.9.

I am receiving the following warning across the top of all admin pages:

Strict Standards: Static function WP_Session_Tokens::drop_sessions() should not be abstract in C:\xampp\htdocs\src\wp-includes\session.php on line 250

Line 250 of session.php reads as follows:

abstract public static function drop_sessions();

When I open session.php in Dreamweaver; I see an error on line 184:


I'm afraid this is where I'm of no further help. I'm not talented with OOP; and still learning.

Thank you for any assistance.

Change History (5)

#1 follow-up: @markoheijnen
10 years ago

See #20276

#2 in reply to: ↑ 1 @josh401
10 years ago

Replying to markoheijnen:

See #20276

Ah, thank you so much.
That makes perfect sense; as I was just working with nonces before I performed my nightly update to trunk.

You are an all-star.
I'm sure that thread will solve my issue. I have to step out for a few hours; but I'll certainly come back and update this thread with my results.

Thank you, sir!

#3 @nacin
10 years ago

  • Milestone changed from Awaiting Review to 4.0
  • Resolution set to fixed
  • Status changed from new to closed

#4 @SergeyBiryukov
10 years ago

#28950 was marked as a duplicate.

#5 @josh401
10 years ago

I'm still not entirely sure what the main issue was about.
But, updating to the nightly build again fixed the notice.
Everything seems to be running great.
Thank you, everyone, very much for the quick actions!

Note: See TracTickets for help on using tickets.