• Resolved softwaredancer

    (@softwaredancer)


    I’m running Total Upkeep Version 1.14.13 on an xampp installation on Windows 10. When I try to do a backup I get this error message:

    Fatal error: Uncaught Error: Call to undefined function posix_getpgid() in [Path]\wp-content\plugins\boldgrid-backup\admin\class-boldgrid-backup-admin-test.php:529 Stack trace: #0 [Path]\wp-content\plugins\boldgrid-backup\admin\class-boldgrid-backup-admin-in-progress.php(403): Boldgrid_Backup_Admin_Test::is_getpgid_supported() #1 [Path]\wp-content\plugins\boldgrid-backup\admin\class-boldgrid-backup-admin-in-progress.php(354): Boldgrid_Backup_Admin_In_Progress::is_running() #2 [Path]\wp-content\plugins\boldgrid-backup\admin\class-boldgrid-backup-admin.php(133): Boldgrid_Backup_Admin_In_Progress::is_done() #3 [Path]\wp-includes\class-wp-hook.php(303): Boldgrid_Backup_Admin->enqueue_styles('toplevel_page_b...') #4 [Path]\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #5 [Path]\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #6 [Path]\wp-admin\admin-header.php(102): do_action('admin_enqueue_s...', 't in [Path]\wp-content\plugins\boldgrid-backup\admin\class-boldgrid-backup-admin-test.php on line 529

    Line 529 contains this code:

    self::$is_getpgid_supported = false !== posix_getpgid( $pid );

    When I insert the line “return false;” directly above that line, the backup appears to work correctly and there is no error message.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Joseph W

    (@joe9663)

    Hi @softwaredancer, thank you for reporting this error to us!

    It looks like we need to add some additional checks to make sure that posix_getpgid is available in the environment before attempting to use it in the code and I have informed our developers about this issue.

    Hopefully we will be able to get a patch released soon with a permanent solution and in the meantime your fix should allow you to continue using Total Upkeep until we can get things sorted out on our end.

    Thank you again for helping us make our plugin better and please let us know if there is anything else that we can do to help!

    Hello

    Will there be a patch soon for this issue?
    I tested the plugin on one site today and I had the same error. It looks like a great plugin and I would like to use it on all of my sites but it’s not practical to use it if I have to add code to each installation.

    Thanks

    Plugin Contributor Joseph W

    (@joe9663)

    Hi @redsoftdev,

    We are currently in the final stages of putting together a new version for Total Upkeep that should fix this issue and we hope to get it released within a week.

    Hopefully you won’t see this problem again once we get that taken care of and please let us know if you ever have any other questions for us!

    Hello

    That’s good news, I look forward to the update.

    Thanks for letting me know

    Plugin Contributor Jesse Owens

    (@jessecowens)

    Hello @redsoftdev

    Thanks for your patience! This issue has been fixed with version 1.15.0, which is available for upgrade now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Backup in xampp fails with error “Call to undefined function posix_getpgid()”’ is closed to new replies.