• I have the following errors listed on my wp dashboard:

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin.php on line 120

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin.php on line 125

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin.php on line 134

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin.php on line 138

    Warning: array_merge(): Argument #4 is not an array in /home3/filigree/public_html/wp-content/plugins/jetpack/class.jetpack.php on line 3722

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/social-media-buttons-toolbar/inc/php/core.php on line 24

    Warning: array_merge(): Argument #2 is not an array in /home3/filigree/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 989

    Warning: array_unshift() expects parameter 1 to be array, string given in /home3/filigree/public_html/wp-content/plugins/wp-editor/wpeditor.php on line 99

    Can you please tell me what I need to do to fix these errors?

    Thank You!

    Jasmine
    About Pet Rats

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    google-analytics-for-wordpress plugin seems to be the error.

    Access your server via FTP/ SFTP , 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/plugins/ and delete google-analytics-for-wordpress plugin.

    Also report the issue at https://ww.wp.xz.cn/support/plugin/google-analytics-for-wordpress so the plugin’s author can take action as appropriate.

    • This reply was modified 8 years, 6 months ago by t-p.
    Thread Starter aboutpetrats

    (@aboutpetrats)

    Thank you for your response!

    Can I just deactivate google-analytics-for-wordpress and then delete it by accessing it through my dashboard? (—rather than through the control panel?)

    Moderator t-p

    (@t-p)

    Try it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘array_unshift error messages’ is closed to new replies.