WordPress.org

Ready to get started?Download WordPress

Forums

PHP/MySQL CPU performance statistics
PHP Error After Latest Update (3 posts)

  1. Company 50
    Member
    Posted 7 months ago #

    Trying to run the plugin, which worked fine before latest update, now produces a PHP error:

    Fatal error: Call to undefined function apache_get_version() in [...]/wp-content/plugins/mywebtonet-performancestats/mywebtonet-performancestats.php on line 317

    http://wordpress.org/plugins/mywebtonet-performancestats/

  2. i.ahmed
    Member
    Posted 7 months ago #

    I'm assuming your hosting configuration uses PHP as FastCGI/CGI. The version of Apache has no significance in the plugin other than to tell you what version you have so until the developer fixes it, you can edit line 317:

    From:
    $apacheversion = apache_get_version();

    To:
    $apacheversion = 'Apache';

    The developer should change this line to:
    $apacheversion = (function_exists('apache_get_version')) ? apache_get_version() : '';

  3. mywebtonet
    Member
    Plugin Author

    Posted 7 months ago #

    Hi guys

    Sorry about that, can we ask you to test again, just release 1.1.1, best you can do is to remove the old plugin and reinstall, then you will get the latest one.

    Rgds

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.