[resolved] functions.php error on line 2170 (3 posts)

  1. Terry
    Posted 9 years ago #

    Here is the problem. Everytime I log in to wordpress admin I will arrive at the Dashboard, and everything looked fine. The URL is (http://www.teddy-o-ted.com/wp-admin/). Here is a screenshot of the normal dashboard: http://img144.imageshack.us/my.php?image=functionsphperror1ke4.jpg.

    However, as I move to other sections of the admin panel, and then I return to dashboard by clicking the link, it brings me to (http://www.teddy-o-ted.com/wp-admin/admin.php?page=index.php), and this displays my blog on the dashboard. Here is the error screenshot: http://img135.imageshack.us/my.php?image=functionsphperror2xg3.jpg.

    And there is this error message on the page:

    Warning: extract() [function.extract]: First argument should be an array in /home/teddyote/public_html/wp-includes/functions.php on line 2170

    However, the problem disappears when I log out and log in again. I think something is wrong with my ../wp-includes/functions.php at line 2170.

    I know that there are some threads on this forum discussing about the error that occurs in the same file but at difference location (that error is at line 2139 or 2319 I'mnot so sure). But mine is at line 2170.

    Any help? Thanks in advance.

  2. Terry
    Posted 9 years ago #

    Sorry for bumping. I've reinstalled wordpress, especially the ../wp-includes/functions.php but it doesn't help the problem.

  3. pavlicek
    Posted 8 years ago #

    Hey, I had similar problem and I found this solution:

    find line 2170 in functions.php:

    it says - extract($wp_query->query_vars);

    and change it to - extract((array)$wp_query->query_vars);

    It worked for me. Hope it will help.

Topic Closed

This topic has been closed to new replies.

About this Topic