Skip to content

Conversation

@jamesros161
Copy link
Contributor

@jamesros161 jamesros161 commented Feb 17, 2025

resolves #614

The warning received in this issue, was caused by the 'is_running' key being defined inside of the Boldgrid_Backup_Admin_Test::is_getpgid_supported() conditional. Therefor, systems that do not support getpgid, such as xampp. However, there is no reason that key should be dependant on that condition. Instead, it's been moved to be defined before the condition.

You can test that this resolves the issue by going the the is_getpgid_supported method in admin/class-boldgrid-backup-admin-test.php and short circuiting the function with a return false; statement, and running a backup.

@jamesros161 jamesros161 marked this pull request as ready for review February 17, 2025 17:24
@jamesros161 jamesros161 requested a review from bwmarkle February 17, 2025 17:24
@jamesros161 jamesros161 merged commit 83da551 into master Feb 21, 2025
3 checks passed
@jamesros161 jamesros161 deleted the issue-614 branch February 21, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP Warning: Undefined array key “is_running”

3 participants