• Hello! My website was not working i kept getting HTTP ERROR 500 when trying to access it so i checked error log and this is what i’ve found : [27-Oct-2016 11:20:15 UTC] PHP Fatal error: Cannot redeclare wp_get_server_protocol() (previously declared in ?:18) in /home/telechar/public_html/[site]/wp-includes/load.php on line 18
    [27-Oct-2016 15:11:41 UTC] PHP Fatal error: Cannot redeclare wp_get_server_protocol() (previously declared in ¨?:116) in /home/telechar/public_html/[site]/wp-includes/load.php on line 23
    [27-Oct-2016 15:17:47 UTC] PHP Fatal error: Cannot redeclare wp_get_server_protocol() (previously declared in h?:18) in /home/telechar/public_html/[site]/wp-includes/load.php on line 23

    Please i need your help!! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • That means the function wp_get_server_protocol() has been declared twice, either in some plugin or theme.

    Try disabling all the plugins and switching back to the default “twentysixteen” theme and see if this error goes away.

    If not, then try uploading the core WP files again.

    Thread Starter Andrew990

    (@andrew990)

    Thank you so much! It was a plugin problem , now i gotta find that plugin haha. Thank you again god bless you!

    DrLightman

    (@drlightman)

    Hello, did you finally find the source of the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot redeclare wp_get_server_protocol’ is closed to new replies.