Skip to main content
deleted 2 characters in body
Source Link
fuxia
  • 107.3k
  • 39
  • 256
  • 463

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

Changed the following lines from

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

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

to:-

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

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

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

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

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 = '' ; -------- }

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 = '' ; } 
Source Link

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 = '' ; -------- }