• Resolved mpoepping

    (@mpoepping)


    I recently updated my company’s WP version and now we have some interesting error messages appearing in a few places. I can’t seem to find the plugin or widget that houses these errors to fix them.

    Forgive me if this is a simple fix, as I do not yet have access to my company’s WP files directly, which may be the problem (we did use a 3rd party to design our WP template back in 2010 (if that matters).

    However I was able to find the pages in question and the error codes do not exist in the page/post text at all. Any guidance is greatly appreciated, thanks in advance.

    First errors (which appear below a couple of posts):
    Warning: usort() expects parameter 1 to be array, null given in /data/15/4/9/123/4335286/user/4995367/htdocs/wp-content/themes/dpi/functions.php on line 510

    Warning: Invalid argument supplied for foreach() in /data/15/4/9/123/4335286/user/4995367/htdocs/wp-content/themes/dpi/functions.php on line 513

    Second errors (which appear on a sidebar but have seemingly no connection to any widgets):
    Warning: sort() expects parameter 1 to be array, null given in /data/15/4/9/123/4335286/user/4995367/htdocs/wp-content/themes/dpi/_course_list_module.php on line 45

    Warning: usort() expects parameter 1 to be array, null given in /data/15/4/9/123/4335286/user/4995367/htdocs/wp-content/themes/dpi/functions.php on line 510

    Warning: Invalid argument supplied for foreach() in /data/15/4/9/123/4335286/user/4995367/htdocs/wp-content/themes/dpi/functions.php on line 513

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hardeep Asrani

    (@hardeepasrani)

    All of these errors are being caused by your theme, not plugin. Which version of WordPress were you using before?

    Thread Starter mpoepping

    (@mpoepping)

    No idea as I just started but it was older. Maybe even a 2.x.x version. It may have been 3.0.4 as well though.

    Hardeep Asrani

    (@hardeepasrani)

    That’s why we recommend users to always use the updated version. You will have to redo your theme so it could work properly. Using older version is a huge welcome sign to hackers. 🙂

    Thread Starter mpoepping

    (@mpoepping)

    Yeah I have already discussed that with them. Thanks for the info!

    Is there anything I can do to get rid of the phantom widget (the 2nd set of errors in my original post) in the meantime?

    Hardeep Asrani

    (@hardeepasrani)

    If you see the error code /themes/dpi/_course_list_module.php on line 45

    It’s also with the theme. It has some course list module or something which is causing it. 🙂

    Thread Starter mpoepping

    (@mpoepping)

    Well then it looks like we’ll be expediting our redesign lol. Thanks for all your help!

    Hardeep Asrani

    (@hardeepasrani)

    Don’t forget to mark this thread as resolved, and best of luck with that. 🙂

    Thread Starter mpoepping

    (@mpoepping)

    done.

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

The topic ‘Ghost Warning Errors??’ is closed to new replies.