WordPress.org

Ready to get started?Download WordPress

Forums

P3 (Plugin Performance Profiler)
[resolved] Warning and other (4 posts)

  1. Andres Felipe
    Member
    Posted 1 year ago #

    Hi and thanks for the plugin

    I've used it like 3 times with no problem but now I try it an got:

    1. When I clic start scan, it doesn't remains in the back end, just send me to the home page with this http://www.mypage.com/?P3_HIDE_ADMIN_BAR=1

    2. In the back end this appears Warning: usort() [function.usort]: Array was modified by the user comparison function in /public_html/test/wp-admin/includes/menu.php on line 213

    Any idea?

    http://wordpress.org/extend/plugins/p3-profiler/

  2. Chris Klosowski
    Member
    Posted 1 year ago #

    Hi Andres,

    Have you added any other plugins or themes between this attempt and your previously few times running the scan? It seems to me that something is interfering with the method we use to start up the scan.

    Thanks

  3. Kurt Payne
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi Andres,

    For #1, this seems like a javascript conflict. P3 embeds the scan in an iframe, so if your site uses an frame busting code, it will break this functionality. You can still use the manual scan method.

    When you start a scan, choose "Manual Scan" and then open your site in a different browser (or an incognito window) and browse your site as a logged out user. When you're done, close that browser and return to your admin. Click "I'm done" and view your scan results.

    For #2, this is a known PHP bug.

    What if I get a warning about usort()?
    Warning messages like this: Warning: usort() [function.usort]: Array was modified by the user comparison function are due to a known php bug. See php bug #50688 for more information. This warning does not affect the functionality of your site and it is not visible to your users.

  4. Andres Felipe
    Member
    Posted 1 year ago #

    Hi Chris and Kurt and thanks for Your reply

    1. About Chris reply: since P3 I've installed a few plugins and uninstalled a few more, some changes in functions.php, and style.css.

    2. About Kurt point 1: The most related plugin could be one than put the javascript in footer and css in header and than I'm running this plugin with Plugin Organizer. I'll try the manual method and update here.

    3. About Kurt point 2: The warning is not there anymore. Just clean browser's and site's cache.

    Thanks for all Your time!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.