WordPress.org

Ready to get started?Download WordPress

Forums

P3 (Plugin Performance Profiler)
[resolved] many errors - cannot remove (17 posts)

  1. montaya
    Member
    Posted 2 years ago #

    When I installed p3 it gave a number of errors, also when I tried to update a page it took many many minutes to load then gave a queued error (a .htaccess file).
    So I deactivated it---made no difference!!!!
    So I deleted it---made no difference!!!!
    So I switched off all the options (Caching) --- crashed the site!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Switched them back on ---site came back
    What a mess!
    HELP????

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

  2. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi montaya,

    I'm sorry to hear you're having problems. To remove P3 from your site completely, please delete:

    wp-content/plugins/p3-profiler (and all files under this folder)
    wp-content/mu-plugins/p3-profiler.php

    Here's what's going on:

    When you are actively profiling a site, P3 uses a backtrace to find out what function is being called (so it knows if it's a plugin, and which plugin). Sometimes the backtrace is so big it can hit the memory limit in php. In later versions of php (5.3.6, 5.4) there are options to make the backtrace smaller, and P3 is coded with these options in mind.

    We're working on a more resilient solution for the next version of P3.

  3. montaya
    Member
    Posted 2 years ago #

    I would like to use p3
    but it is a large site with maybe too many plugins, also I am starting to run different themes on some of the pages (using headspace2).
    On a different note. I am near renewal time for host, and have been having quite a bit of downtime lately, so am looking at maybe changing.
    Question where do I get instructions for p3?

  4. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi montaya,

    We're testing P3 1.3.0 right now that should work better for you. Once it's installed, the help page should walk you through how to use it:

    How do I use this?
    Simply click "Start Scan" to run an automated scan of your site. The scanner generates some traffic on your site and monitors your site's performance on the server, then shows you the results. With this information, you can decide what action to take.

    What do I do with these results?
    If your site loads in an acceptable time (usually < 0.5 seconds), you might consider other explanation for sluggish loading. For example, loading large images, large videos, or a lot of content can cause slowness. Tools like webpagetest.org, Firebug, Pingdom tools, or Safari Developer Tools or Chrome Developer Tools can show you a connection breakdown of your site's content.

  5. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    P3 1.3.0 has been released and may work better for you. If you want to try it and post your results, it will help us make it better.

    If you have any problems after running P3, just remove these files from your site over FTP:

    wp-content/plugins/p3-profiler (and all files under this folder)
    wp-content/mu-plugins/p3-profiler.php

    Please let me know if you have any questions. Thanks!

  6. montaya
    Member
    Posted 2 years ago #

    Yes I tried p3 again. It seems to conflict with 'w3 total cache'
    Caused errors below:
    -------------------------------
    It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.

    Content Delivery Network Error: The "Replace default hostname with" field must be populated. Enter CDN provider hostname. (This is the hostname used in order to view objects in a browser.)

    -------------------------------
    Thanks Montaya

  7. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi Montaya,

    Do you get these errors only when P3 is installed? Only when P3 is installed and active? Or only when P3 is installed, active, and doing a performance scan?

    Also, this is P3 v1.3.0 and W3 Total Cache v0.9.2.4 right?

  8. montaya
    Member
    Posted 2 years ago #

    hi Kurt
    Errors when P3 is installed and active if I remember right.
    Montaya

  9. renefred
    Member
    Posted 2 years ago #

    I had the plugin inactive. I just updated and now my site is gone.
    Get this error:
    Fatal error: Call to undefined function get_option() in /var/www/renefrederiksen.dk/public_html/wp-content/plugins/p3-profiler/start-profile.php on line 5

    I have tried to delete it through FTP but that doesn't solve the problem. I just get even more error messages.

    René

  10. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi Rene,

    Did you have the a manual scan active at the time you updated?

    To fix, delete:

    wp-content/plugins/p3-profiler/
    wp-content/mu-plugins/p3-profiler.php

    When complete, reinstall and see if that fixes the problem

  11. renefred
    Member
    Posted 2 years ago #

    I did not have the plugin active or running.

    I simply updated through WP and the site crashed.

    Deleting doesn't help. Just gives me more errors.

    I am no longer able to access my site so I cannot upload a new version and activate.

  12. renefred
    Member
    Posted 2 years ago #

    I found a temporary solution. I got a backup of my plugins from VaultPress. I uploaded the old version of the plugin.

    It is now working again.

    However, plugin is still inactive and I cannot delete it without crashing the site.

  13. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    René,

    What version of the plugin do you currently have?

  14. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Check your site's .htaccess file. If there is a section in there like this:

    # BEGIN p3-profiler
    php_value auto_prepend_file "/var/www/renefrederiksen.dk/public_html/wp-content/plugins/p3-profiler/start-profile.php"
    # END p3-profiler

    Remove that section. This section was left over from an old version (before 1.2.0) and should have been removed when you upgraded to 1.2.0.

  15. renefred
    Member
    Posted 2 years ago #

    1.2.0

    I can't update it without my site crashing.

    If I update, my site crashes. If I delete my site crashes.

  16. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi René,

    I've been able to recreate the issue you're experiencing. We've pushed 1.3.1 to address it. Please let me know if it helps.

  17. renefred
    Member
    Posted 2 years ago #

    That seemed to work. Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic