Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP warnings Undefined array key and null given when updating none wordpress.org plugin #319

Open
ipajen opened this issue Apr 12, 2023 · 0 comments

Comments

@ipajen
Copy link

ipajen commented Apr 12, 2023

  • WordPress: 6.2
  • PHP: 8.2.3
  • Server: LiteSpeed
  • Database: mysqli (Server: 10.4.28-MariaDB / Client: mysqlnd 8.2.3)
  • Browser: Edge 112.0.1722.34 (Windows 10/11)
  • Theme: Twenty Twenty 2.2
  • MU-Plugins:
    • Health Check Troubleshooting Mode 1.9.0
    • WordPress automation by Installatron
  • Plugins:
    • Core Rollback 1.3.4
    • Enable jQuery Migrate Helper 1.3.0
    • Git Updater 12.1.3.7
    • Health Check & Troubleshooting 1.6.0
    • Performance Lab 2.1.0
    • PHP Compatibility Checker 1.6.1
    • Plugin Compatibility Checker 2.2
    • Query Monitor 3.12.1
    • WordPress Beta Tester 3.3.7

minor issue but when updating any plugin from github and not WordPress.org with https://github.com/afragen/git-updater following warnings exists from php-compatibility-checker in /wp-admin/update.php. When updating from WordPress.org then the warnings doesn't exist. Don't know how Premium plugins will behave, but could have the same issue.

Warning
Undefined array key "plugins"
wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php:170

Warning
foreach() argument must be of type array|object, null given
wp-content/plugins/php-compatibility-checker/wpengine-phpcompat.php:170

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

No branches or pull requests

1 participant