Skip to main content
1 of 2

I got this error after installing wordpress with composer enter image description here

Edited the user.php in \plugin-wordpress\wp\wp-includes\user.php

  • Changed the following lines from

function wp_signon( $credentials = array(), $secure_cookie = '' ) { ---- }

to:-

  • This solved the error and a wordpress login form entry shows up.

function wp_signon() { $credentials = array(); $secure_cookie = '' ; -------- }