Support » Fixing WordPress » Warning: Parameter 1 to wp_default_styles() expected to be a reference, value gi

  • They passed me a site, when trying to install it in my hosting I get this error in the top part,
    Warning: Parameter 1 to wp_default_styles () expected to be a reference, value given in /home3/gsant036/imtech.com.mx/wp-includes/plugin.php on line 601

    Now I can not even enter the administrator because I get a series of errors:

    Warning: Parameter 1 to wp_default_styles () expected to be a reference, value given in /home3/gsant036/imtech.com.mx/wp-includes/plugin.php on line 601

    Warning: Parameter 1 to wp_default_scripts () expected to be a reference, value given in /home3/gsant036/imtech.com.mx/wp-includes/plugin.php on line 601

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- login.php on line 390

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- login.php on line 403

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- includes / pluggable.php on line 898

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- includes / pluggable.php on line 899

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- includes / pluggable.php on line 900

    Warning: Can not modify header information – headers already sent by (output started at /home3/gsant036/imtech.com.mx/wp-includes/plugin.php:601) in /home3/gsant036/imtech.com.mx/wp- includes / pluggable.php on line 1167

    Does anyone know how I can fix them?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Parameter 1 to wp_default_styles() expected to be a reference, value gi’ is closed to new replies.